Skip to content

Instantly share code, notes, and snippets.

@mohapsat
Created January 30, 2019 06:02
Show Gist options
  • Save mohapsat/300229366be61ae7aeb1928d6eaa0b17 to your computer and use it in GitHub Desktop.
Save mohapsat/300229366be61ae7aeb1928d6eaa0b17 to your computer and use it in GitHub Desktop.
SSL: CERTIFICATE_VERIFY_FAILED
On MAC OS:
What to do about:
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)
Ref:
https://bugs.python.org/issue29480
STEPS:
cd /Applications/Python 3.7
./Install\ Certificates.command
-- pip install --upgrade certifi
Collecting certifi
Using cached https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl
Installing collected packages: certifi
Successfully installed certifi-2018.11.29
You are using pip version 10.0.1, however version 19.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
-- removing any existing file or link
-- creating symlink to certifi certificate bundle
-- setting permissions
-- update complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment