[Cryptography-dev] OpenSSL.SSL.Error 4067

Elias Kremer eliaskremer7 at gmail.com
Sun Jan 2 14:31:30 EST 2022


Good evening,
I just ran into an error i'm unable to resolve and i couldn't find any help
online:

I work with the python ssl library, and my code throws an ssl.SSLError
"[SSL] PEM lib* (_ssl.c:4067)*".
The documentation of the ssl library (
https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_cert_chain)
says that the highlighted error code comes from the OpenSSL library.
But I can't find any reference to the error code 4067, the closest I could
get was this:
https://www.pyopenssl.org/en/stable/api/ssl.html?#OpenSSL.SSL.Error but
this site basically just says that the error exists and points to "err(3)"
which I could't retrieve on the site.

I'd really appreciate any help since I have no idea how to solve this issue.
Best regards,
Elias Kremer

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virenfrei.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/cryptography-dev/attachments/20220102/bc75a495/attachment.html>


More information about the Cryptography-dev mailing list