I am having an issue trying to verify the certificate. Looking at the python3 documentation it appears that I am doing everything correctly.
import requests
requests.get('example.com/token',cert('/myfile.pfx','mypasscode'))
I am also using OpenSSL 1.0.2p
and TLS 1.2
. The server does not allow lower than 1.2
.
I am getting the following error OpenSSL.SSL.Error: [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')]