python 2.7.5 requests and certificate verify failed
cert=(cacert,key), #key/cert pair verify=cert....OpenSSL.SSL.Error: [('x509 certificate routines', 'X509_check_private_key', 'key values mismatch')]
I think you need to use (cert,key)
as cert and use cacert
instead for verification:
cert=(cert,key), #key/cert pair verify=cacert