Answer the question
In order to leave comments, you need to log in
Python/Requests/SSL - how to make certificates work?
You need to make requests.POST from python to a site with https. It doesn’t work without ssl, you don’t need to offer verify=False
it. The request via curl from the Mac goes through, apparently, everything is in order with the certificates. From the Ubuntu server, curl passes, but the python shuts up. From the ubuntu desktop, even curl does not work.
I smoked a pack of manuals, but nothing helps. Installed and updated certifi and the address to the certificate that it issues does not help.
How to set it up correctly?
Answer the question
In order to leave comments, you need to log in
So this is ... what is the error? If it is simply impossible to authenticate - roll a more recent version ca-certificates
to the machine from where the request does not pass.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question