Python3 reques with cert and key “verified fail”

Have you got your certificates verified using

openssl verify -CAfile your-cert.pm

I got the same Problem and solved by using full-chain certificates.please see your certificate contains fullchain(root,intermediate). And you can try like

import requests
test=request.get("url",verify="certificate-with-path")

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top