python Requests SSL ERROR (certificate verify failed)

Published: 5/10/2017
python Requests SSL ERROR (certificate verify failed)
Source: STACKOVERFLOW.COM

I have generated following self-signed certificates for my server and client. I have created ca.crt & ca.key. Using ca.crt & ca.key, I have created server.crt, server.key for server and client.crt, client.key for client respectively. I am using python requests library as client. Below is the code snippet: import json import requests cert = ("/home/tests/certs/client.crt", "/home/tests/c

Read more
Related news
Comment