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

Fix SSL: CERTIFICATE_VERIFY_FAILED when setting up RingRTC #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sharplet
Copy link

@sharplet sharplet commented Mar 5, 2024

With system python3 on macOS 14.3.1 (Python 3.11.4), certificate verification fails for build-artifacts.signal.org. This is causing make dependencies to fail.

To correctly load the system certificate chain, urllib.request.urlopen() must be passed a properly-configured ssl.SSLContext. Using ssl.create_default_context() appears to do the correct thing by default, and should be valid in Python >= 3.4.

With system python3 on macOS 14.3.1 (Python 3.11.4), certificate
verification fails for build-artifacts.signal.org. This is causing
`make dependencies` to fail.

To correctly load the system certificate chain,
`urllib.request.urlopen()` must be passed a properly-configured
`ssl.SSLContext`. Using `ssl.create_default_context()` appears to do the
correct thing by default, and should be valid in Python >= 3.4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant