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

Fix "SSL certificate problem" by using certifi #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
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