View Single Post
Old 03-28-2022, 08:48 AM   #1
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
Accepting expired certificate

Hi all,

is there a way to tell a recipe that it should not make an error when do_handshake() returns

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)

? I've looked in the forum but could not find a solution (on Linux, no certmgr there). I'd expect some API parameter where I would be able to say that ssl certifcate errors are to be ignored.
bubak is offline   Reply With Quote