Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certficate handling Python2.7.9 #197

Open
GoogleCodeExporter opened this issue Jul 3, 2015 · 1 comment
Open

Certficate handling Python2.7.9 #197

GoogleCodeExporter opened this issue Jul 3, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Affected Version: All on Python2.7.9
Environment: OSX

What steps will reproduce the problem?
1. Have python2.7.9
2. Run repo upload with review_url pointing at a server with a self signed 
certificate

What is the expected output? What do you see instead?

Expect repo to upload the commits. Instead the following error:

[FAILED] PROJECTNAME  BRANCH
       (REVIEW_URL: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>)

Original issue reported on code.google.com by [email protected] on 13 Apr 2015 at 4:02

@GoogleCodeExporter
Copy link
Author

Looks like when repo uses urlopen() it just passes the url. If I've defined a 
certificate or certificate directory in my gitconfig these should be passed as 
arguments to allow repo to interact with trusted self-signed certificates. 

Caused by https://www.python.org/dev/peps/pep-0476/

Previously urllib2 would ignore invalidate certificates.

Original comment by [email protected] on 13 Apr 2015 at 4:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant