<div dir="ltr">This is a mailing list about a specific Python cryptography project (pyca/cryptography) and sometimes more generally all projects under the pyca umbrella, but it is not a general list. Since your problem is actually with stdlib ssl we're not really the appropriate venue for trying to debug this. That said, the 4067 you're seeing is the line number from _ssl.c, a file in the CPython source code. You can see the current master version of that here (<a href="https://github.com/python/cpython/blob/main/Modules/_ssl.c#L4067">https://github.com/python/cpython/blob/main/Modules/_ssl.c#L4067</a>) but you'll want to be sure you actually look at the correct release since _ssl.c changes a bit in each version.<div><br></div><div>-Paul Kehrer (reaperhulk)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 2, 2022 at 1:36 PM Elias Kremer <<a href="mailto:eliaskremer7@gmail.com">eliaskremer7@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Good evening,<div>I just ran into an error i'm unable to resolve and i couldn't find any help online:</div><div><br></div><div>I work with the python ssl library, and my code throws an ssl.SSLError "[SSL] PEM lib<b style="font-style:italic"> (_ssl.c:4067)</b>".</div><div>The documentation of the ssl library (<a href="https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_cert_chain" target="_blank">https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_cert_chain</a>) says that the highlighted error code comes from the OpenSSL library.</div><div>But I can't find any reference to the error code 4067, the closest I could get was this: <a href="https://www.pyopenssl.org/en/stable/api/ssl.html?#OpenSSL.SSL.Error" target="_blank">https://www.pyopenssl.org/en/stable/api/ssl.html?#OpenSSL.SSL.Error</a> but this site basically just says that the error exists and points to "err(3)" which IĀ could't retrieve on the site.</div><div><br></div><div>I'd really appreciate any help since I have no idea how to solve this issue.</div><div>Best regards,</div><div>Elias Kremer</div></div><div id="gmail-m_-3441828664443847941DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top-width:1px;border-top-style:solid;border-top-color:rgb(211,212,222)">
<tbody><tr>
<td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width:470px;padding-top:17px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virenfrei. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:rgb(68,83,234)" target="_blank">www.avast.com</a> </td>
</tr>
</tbody></table>
<a href="#m_-3441828664443847941_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
_______________________________________________<br>
Cryptography-dev mailing list<br>
<a href="mailto:Cryptography-dev@python.org" target="_blank">Cryptography-dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/cryptography-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/cryptography-dev</a><br>
</blockquote></div>