Closed kamranzafar closed 1 year ago
Good catch! Are you able and willing to provide a pull request to fix this?
I do not know how to make a fix for this. You can change ssl_protocol
, so Pkcs12Adapter(..., ssl_protocol=ssl.PROTOCOL_SSLv23)
, maybe, but ssl.PROTOCOL_SSLv23
is deprecated.
I made a PR with a potential fix.
Thanks a lot for your contribution! Although your solution is quite a hack, I don't see any better solution, either. I just released version 1.17 containing your fix:
Latest version doesn't work with verify=False, getting the following error
_Cannot Set verify_mode to CERT_NONE when checkhostname is Enabled
Works fine on version 1.14