0

I have multiple websites that need a proxy for accessing them.

the proxy server that I'm using needs authentication first and then I can send requests to the websites.

Besides, I need to create a proxy session then check the ssl certificate of the specific websites.

is there any way to do it?

summary: create a proxy session with authentication get ssl certificate of external websites.

hoomanvhd
  • 53
  • 1
  • 6
  • The `requests` module can do this already, i.e. proxy support with authentication and certificate validation. It is unclear to me what your problem then. Do you want to code it without `request`, do you want to have your own code checking the certificate, ... ? – Steffen Ullrich Mar 25 '22 at 05:23
  • requests only validate the certificates, but what I'm going to do is to get the detail of the certificate. creation date, expiration date, subject and etc – hoomanvhd Mar 25 '22 at 13:37
  • *"what I'm going to do is to get the detail of the certificate"* - See [How to get response SSL certificate from requests in python?](https://stackoverflow.com/questions/16903528/how-to-get-response-ssl-certificate-from-requests-in-python) on how to get the server certificate with requests. – Steffen Ullrich Mar 25 '22 at 18:23

0 Answers0