Skip to content

Conversation

@j796160836
Copy link

@j796160836 j796160836 commented Jul 18, 2017

I got this error but target website have a valid certificate.

error: (60, 'SSL certificate problem: self signed certificate in certificate chain')

related to Issues #46.

I solved by using certifi package which is basically an up-to-date copy of mozilla's built in certificate. Merge if you need, thanks.

Reference:
https://stackoverflow.com/questions/16192832/pycurl-https-error-unable-to-get-local-issuer-certificate
https://stackoverflow.com/questions/27804710/python-urllib2-ssl-error/27826829#27826829

@svanoort-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@j796160836 j796160836 force-pushed the johnny-certificate-fix branch from 0b80c46 to 836ca40 Compare July 18, 2017 07:36
@j796160836
Copy link
Author

Here is certifi modules info

https://pypi.python.org/pypi/certifi
GitHub
https://github.com/certifi/python-certifi

@crazi-coder
Copy link

@j796160836 , We are working on the fork of this in https://github.com/crazi-coder/resttest3, Please do the contribution on that . This issue is fixed on the fork

Copy link

@ronysun ronysun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants