Open Bug 1370310 Opened 7 years ago Updated 5 years ago

boostrap.py throws [SSL: CERTIFICATE_VERIFY_FAILED] error when run with python2.7

Categories

(Developer Ecosystem :: Dev Kit, defect)

defect
Not set
normal

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mddrill, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4

Steps to reproduce:

Download the bootstrap.py file which is found at one of the steps to begin contributing to Mozilla on this site: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Mac_OS_X_Prerequisites

Alternatively you can find it directly here: https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py

Attempt to run the script with Python 2.7 on Mac OS X


Actual results:

Program terminated with output:

Could not load the bootstrap Python environment.


This should never happen. Consider filing a bug.


Error:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>



Expected results:

The WRONG_PYTHON_VERSION_MESSAGE variable says that the script should run with Python 2.6 and 2.7, it seems to only run with Python 2.6.
I don't think this is an env issue. I tried to reproduce the bug using python 2.7 and bootstrap didn't throw any errors.
You need to log in before you can comment on or make changes to this bug.