Tried using curl and pycurl(code) to connect to a origin server via proxy.
Using CURL
Used curl(curl/7.53 libcurl/7.53.0 OpenSSL/1.0.1f zlib/1.2.8)
Command given below:
curl -x https://proxyserver.com:8445https://originserver.com -vvvv --proxy-cacert ca.pem --proxy-cert client_certificate.cer --proxy-key client_private.key
This give 200 Ok response.
Using Pycurl
Tried same scenario with pycurl(PycURL/7.43.0 libcurl/7.53.0 OpenSSL/1.0.1f zlib/1.2.8). Code sample given below:
With this facing error
" File "pycurl_client.py", line 7, in
c.setopt(c.PROXY_SSLCERT, 'client_certificate.cer')
AttributeError: PROXY_SSLCERT".
And same issue is faced with all Proxy related SSL parameters.
Hello,
Tried using curl and pycurl(code) to connect to a origin server via proxy.
Using CURL Used curl(curl/7.53 libcurl/7.53.0 OpenSSL/1.0.1f zlib/1.2.8) Command given below: curl -x https://proxyserver.com:8445 https://originserver.com -vvvv --proxy-cacert ca.pem --proxy-cert client_certificate.cer --proxy-key client_private.key This give 200 Ok response.
Using Pycurl Tried same scenario with pycurl(PycURL/7.43.0 libcurl/7.53.0 OpenSSL/1.0.1f zlib/1.2.8). Code sample given below:
With this facing error " File "pycurl_client.py", line 7, in
c.setopt(c.PROXY_SSLCERT, 'client_certificate.cer')
AttributeError: PROXY_SSLCERT".
And same issue is faced with all Proxy related SSL parameters.
Any help is appreciated.