I'm trying to use openssl s_client to connect to/test an https proxy
and this is the response I get:

SSL_connect:SSLv2/v3 write client hello A
read from 0x81b3d18 [0x81b92d0] (7 bytes => 7 (0x7))
0000 - 48 54 54 50 2f 31 2e                              HTTP/1.
SSL_connect:error in SSLv2/v3 read server hello A
2028:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:s23_clnt.c:475:

If I'm understanding this correctly, when the server responds with
"HTTP/1." this is confusing openssl and it thinks it's an unknown
protocol?

How exactly do https proxies work? Specifically, where is data
encrypted/decrypted? Where does the CONNECT command come into play?
When is the SSL handshake negotiated?

All help is appreciated, thanks!

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

Reply via email to