cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open lathspell opened this issue 6 years ago • 4 comments

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.

lathspell avatar Aug 20 '19 10:08 lathspell

I'd like to take this issue.

darthbeep avatar Jun 09 '20 14:06 darthbeep

@darthbeep go for it 👍

jkbrzt avatar Jun 09 '20 14:06 jkbrzt

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

darthbeep avatar Jun 24 '20 00:06 darthbeep

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

isidentical avatar Dec 28 '21 12:12 isidentical