You appear to need to use the CONNECT method. All information found by
googling "SSL via proxy" or similar. References below are out of date,
but appear to still be the latest.
http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunneling
http://tools.ietf.org/html/draft-luotonen-ssl-tunneling-03
Regards,
Brodie
On Tue, Aug 31, 2010 at 8:25 AM, Kumar, Akhilesh
Since I need to connect to secure server before I can do handshake, If I connect to proxy 1st (I will have to do this if I am going thru proxy) how do I connect to secure server for Handshake. If I connect to proxy and do handshake it does not make sense logically and it does fails(“asio.ssl error”) if I try doing this. So the question is If I connect to Proxy 1st how do I create another secure socket and connect it to secure server which know that it has to go thru proxy?
This is the connection I want to established.
SecureSocket -> Proxy ->SecureServer.
Thanks,
Akhilesh Kumar
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Sam Miller Sent: Monday, August 30, 2010 3:26 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] boost::asio SSL connection thru proxy server
"Kumar, Akhilesh"
Here is my code snippet to connect to a server without proxy, This code works fine I have tested it, my question is what changes I need to make if I have to go thru proxy to connect to server.
Why do you assume changes are required? Have you tried connecting to a proxy? Does it work using your existing code?
Sam
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users