-
-
Save glyph/d0a95165d8fcbe8666566abd41c408c5 to your computer and use it in GitHub Desktop.
Certificate validation error on mac osx pyopenssl (twisted)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When you get an error like | |
# ('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed') | |
# when using twisted, autobahn, etc... | |
# on macos | |
# than you may have to install trust roots | |
# Do this by using brew: | |
# (install brew) | |
brew update | |
brew install [email protected] # this must match the current version that the macOS cryptography wheel is built against | |
# Iff you have homebrew installed in a non-standard location, | |
# (i.e. "$(brew --prefix)" != /usr/local) | |
mkdir -p /usr/local/etc/[email protected] | |
ln -s "$(brew --prefix)"/etc/[email protected]/cert.pem /usr/local/etc/[email protected]/cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment