Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate python env cert chain check #115

Open
mwfarb opened this issue Mar 18, 2022 · 0 comments
Open

Automate python env cert chain check #115

mwfarb opened this issue Mar 18, 2022 · 0 comments
Assignees

Comments

@mwfarb
Copy link
Contributor

mwfarb commented Mar 18, 2022

Some Apple python env have not certs, and users see the urllib error:
err=URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')), type(err)=<class 'urllib.error.URLError'>
which is pretty confusing for many.

Instead, we can automate the cert check and use first part of this gist: https://gist.github.com/mwfarb/c45958c321f021b3b472248c1e4cfc5d

If it fails instead of this error we can direct users to: https://arena.conix.io/content/troubleshooting.html#python-unable-to-get-local-issuer-certificate

@mwfarb mwfarb self-assigned this Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant