-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
"SSLError: hostname <x> doesn't match <y>" - but Curl/Chrome don't report SSL issues? #262
Comments
This has to do with SNI. You need to install extra dependencies which you'll get if you do 'pip install requests[security]' Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Fixes httpie#262
Fixes httpie#262
Having the same problem but the only way I can get a request to work is if I set verify to False. I tried upgrading requests and installing requests[security] and even setting verify to the cert file. |
I was having this problem as well. I needed to upgrade
|
These errors should be gone in newer HTTPie versions which rely on Python 3.6+. |
I'm attempting to use httpie with the JIRA REST API.
The command fails with an "SSLError: hostname doesn't match" style message:
My understanding is that
requests
should normally throw up that error if the SSL certificate isn't valid. The message seems to imply that the cert is for *.mongodb.com, which jira.mongodb.org wouldn't fall under.However, the same command works fine via CuRL, with no SSL warnings:
Furthermore, it also loads up fine in my browser (Chrome), and no SSL warnings are give.
Any thoughts on what might be going on please?
The text was updated successfully, but these errors were encountered: