windows SSL: CERTIFICATE_VERIFY_FAILED
Hi, I have here an old windows server 2003R2 (winbot.zope.org). Recently updated python 2.7.0 to 2.7.11. Now running into SSL: CERTIFICATE_VERIFY_FAILED with buildout bootstrap. I installed DigiCertHighAssuranceEVRootCA.crt to "Certificates (Local Computer)\Trusted Root Certification Authorities\Certificates. As detailed at: http://www.databasemart.com/howto/SQLoverssl/How_To_Install_Trusted_Root_Cer... But still get: C:\buildslave\zope.testing\build>c:\Python27_32\python.exe bootstrap.py Traceback (most recent call last): File "bootstrap.py", line 92, in <module> exec(urlopen('https://bootstrap.pypa.io/ez_setup.py').read(), ez) File "c:\Python27_32\lib\urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "c:\Python27_32\lib\urllib2.py", line 431, in open response = self._open(req, data) File "c:\Python27_32\lib\urllib2.py", line 449, in _open '_open', req) File "c:\Python27_32\lib\urllib2.py", line 409, in _call_chain result = func(*args) File "c:\Python27_32\lib\urllib2.py", line 1240, in https_open context=self._context) File "c:\Python27_32\lib\urllib2.py", line 1197, in do_open raise URLError(err) urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> -- Best regards, Adam GROSZER -- Quote of the day: The Church has many critics but few rivals. - Anonymous
DOH, To answer my own question: it's bootstrap.pypa.io not pypi... needed a different root cert. On 05/16/2016 09:20 AM, Adam GROSZER wrote:
Hi,
I have here an old windows server 2003R2 (winbot.zope.org). Recently updated python 2.7.0 to 2.7.11. Now running into SSL: CERTIFICATE_VERIFY_FAILED with buildout bootstrap.
I installed DigiCertHighAssuranceEVRootCA.crt to "Certificates (Local Computer)\Trusted Root Certification Authorities\Certificates. As detailed at: http://www.databasemart.com/howto/SQLoverssl/How_To_Install_Trusted_Root_Cer...
But still get:
C:\buildslave\zope.testing\build>c:\Python27_32\python.exe bootstrap.py
Traceback (most recent call last):
File "bootstrap.py", line 92, in <module>
exec(urlopen('https://bootstrap.pypa.io/ez_setup.py').read(), ez)
File "c:\Python27_32\lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "c:\Python27_32\lib\urllib2.py", line 431, in open
response = self._open(req, data)
File "c:\Python27_32\lib\urllib2.py", line 449, in _open
'_open', req)
File "c:\Python27_32\lib\urllib2.py", line 409, in _call_chain
result = func(*args)
File "c:\Python27_32\lib\urllib2.py", line 1240, in https_open
context=self._context)
File "c:\Python27_32\lib\urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
-- Best regards, Adam GROSZER -- Quote of the day: It's hard to get ivory in Africa, but in Alabama the Tuscaloosa.
participants (1)
-
Adam GROSZER