-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
IDN + HTTPS = ssl.CertificateError #1685
Labels
Comments
I think this is python's ssl module bug |
Not sure, but for example python-requests works fine with IDN+HTTPS. |
I found a problem |
fafhrd91
added a commit
that referenced
this issue
Mar 14, 2017
will release 1.3.4 soon |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to fetch a site with IDN domain name on HTTPS, but it end up with
CertificateError
, becausematch_hostname
is trying to find decoded hostname instead of punycode hostname in the CN's of the certificate, example:which end up with:
I guess this is similar issue as #1444.
Can reproduce it on both master and 1.2.0 with Python 3.5.2.
The text was updated successfully, but these errors were encountered: