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

Certificate verify failed on python 3.7.0 #52

Closed
guyskk opened this issue Oct 5, 2018 · 2 comments
Closed

Certificate verify failed on python 3.7.0 #52

guyskk opened this issue Oct 5, 2018 · 2 comments

Comments

@guyskk
Copy link

guyskk commented Oct 5, 2018

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '127.0.0.1'. (_ssl.c:1045)

You may update the self-signed certificate.

You have to include a SAN field of type IP address.
https://bugs.python.org/issue34440

@atenni
Copy link

atenni commented Oct 30, 2018

I'm bumping into this too in Python 3.7.

urllib3 gives this warning that provides a little more info:

.venv/lib/python3.7/site-packages/urllib3/connection.py:362: SubjectAltNameWarning:

Certificate for 127.0.0.1 has no `subjectAltName`, falling back to check for a
`commonName` for now. This feature is being removed by major browsers and
deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for
details.)

@1oglop1
Copy link

1oglop1 commented Feb 8, 2019

I just hit the same during kevin1024/vcrpy/pull/411

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

No branches or pull requests

3 participants