Python (pip) throwing [SSL: CERTIFICATE_VERIFY_FAILED] even if certificate chain updated
问题 This is a followup to a previous SO post. I am using Windows/cygwin and I have the need for python to understand a custom CA certificate, as the network infrastructure resigns all SSL requests with its own certificate. If I try to run pip search SimpleHTTPServer , I get the following error message: ... File "c:\users\erbe\appdata\local\programs\python\python35-32\lib\ssl.py", line 633, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate