0

when using Python 2.7s urllib2 I do not seem to be able to retrieve a resource from a HTTPS server while using a SSL secured proxy server, i.e. to following:

CLIENT ---- (HTTPS) ---> PROXY ---- (https) --- > SERVER

Of cause to get through the proxy server one uses CONNECT. Any ideas?

Alternative question: when using CONNECT one needs to setup a completly independent 2. SSL session inside the tunnel, right? How could one do that in python as simply calling ssl.wrap_socket does not do the trick...?

4

0 に答える 0