Open ewetmill opened 6 years ago
I would also greatly appreciate this feature.
For the lazy I cut a branch off of current master that adds verify=False
to the requests.get
calls. I don't have the time at the moment to go through the whole "is this a good idea in general" process, but you can clone it and run it locally.
Python requests allows setting an environment variable to your pem bundle. Once you've obtained that pem bundle you can do the following to make sure it works
echo "export REQUESTS_CA_BUNDLE=/path/to/my/cert.pem" >> ~/.bash_profile ; source ~/.bash_profile
I have an internal enterprise github server with a self signed certificate. When I use the --api-url option, I get: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
Add a --no-check-certificate option to skip the certificate verification step when using the --api-url option.