Hi all,

I am trying to establish SSL connection behind proxy using https. But could
not figure it out how will it be possible.
As for as http based connection behind proxy is concerned I connected to
proxy and set the request URI to the URL
To which non SSL http based connection is to be made. But as far as the SSL
enabled connection behind proxy is 
concerned I need to know Whether the proxy should be SSL enabled and what
type of connection will be made with proxy
SSL or non SSL and if non SSL then how my connection will become SSL enabled
even if I use CONNECT method as the 
http RFC suggests. I have seen few function in bio.h. like 

BIO_set_proxies
BIO_set_proxy_cb
BIO_set_proxy_header
 
Can any one help me how to use these function and whether they will help in
SSL enabled connection behind proxy.     

In http connection i connected to proxy

m_pSocket = BIO_new_connect(proxy:port);

BIO_do_connect((m_pSocket))

and then sent following header
and it worked

POST http://abc.com/asd http/1.0=\r\n
host: abc.com:83\r\n
Content-Type: application/ocsp-request\r\n
Content-length: 1590\r\n\r\n 

Regards,
Muhammad Aftab Alam



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to