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

System certs are not picked up #3016

Closed
dae opened this issue Feb 21, 2024 · 1 comment · Fixed by #3050
Closed

System certs are not picked up #3016

dae opened this issue Feb 21, 2024 · 1 comment · Fixed by #3050

Comments

@dae
Copy link
Member

dae commented Feb 21, 2024

          I figured out my SSL issues with Anki. On my computer, I have Netskope installed which intercepts HTTPS/SSL. I had to add the Netskope self-signed root certificate to the `cacert.pem` file of the `certifi` package that ships with the Anki app.

I used the following command to figure out what the relevant certificates are:

openssl s_client -showcerts -connect texttospeech.googleapis.com:443

And it gave me all certificates in the certificate chain as part of the output.

I then added the self-signed Netskope certificate to /Applications/Anki.app/Contents/Resources/certifi/cacert.pem. This is on macOS. I hope this helps others running into similar issues.

Originally posted by @skadauke in #1965 (comment)

@dae
Copy link
Member Author

dae commented Feb 21, 2024

This may be a solution: https://pypi.org/project/pip-system-certs/

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

Successfully merging a pull request may close this issue.

1 participant