servo: Cannot Build: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
Got pre-reqs via port, cloned the git repo, tried ./mach build and got the following error:
I joined #servo on moz irc, apparently they’ve never seen this before.
I tried manually printing out the s3 urls for cargo and rust, and extracting them to the correct location, then removing those steps from the build script, but this only created more errors.
About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 19 (9 by maintainers)
My python is 2.7.6, otherwise the only change I did was adding those two lines, so as follows:
import sys import tarfile import urllib2 +import ssl +ssl._create_default_https_context = ssl._create_unverified_context
I had a problem with this one too, but it was fixed after I added this:
import ssl ssl._create_default_https_context = ssl._create_unverified_context
I was lucky and didn’t have the problem with curl afterwards.