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

"SSL: CERTIFICATE_VERIFY_FAILED" should show cert at least with --debug #800

Open
lathspell opened this issue Aug 20, 2019 · 4 comments
Open

Comments

@lathspell
Copy link

When connecting to a site with a broken TLS certificate, httpie only displays the one-liner Python error message.

It would be nice, if it would print the certificate chain in human readable form, maybe even with a hint that e.g. the intermediate certificate is no longer valid, the common name does not match or the certificate is self signed.

@darthbeep
Copy link

I'd like to take this issue.

@jkbrzt
Copy link
Member

jkbrzt commented Jun 9, 2020

@darthbeep go for it 👍

@darthbeep
Copy link

Would you be ok with importing sockets and cryptography? I'm not sure it's possible to do without them.

@isidentical
Copy link
Contributor

@lathspell would you mind sharing an example website that we can use to reproduce this problem?

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

Successfully merging a pull request may close this issue.

5 participants
@jkbrzt @lathspell @darthbeep @isidentical and others