httpie-http2 icon indicating copy to clipboard operation
httpie-http2 copied to clipboard

'http --verify no' does verify SSL Certificate

Open andredias opened this issue 4 years ago • 1 comments

I'd like to use http with HTTP/2 to test localhost served by Caddy and its localhost self-signed certificates. However, even with option --verify no, http (with httpie-http2) still verifies the certificate:

$ http --verify no https://localhost

http: error: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)

Without httpie-http2, http works fine.

andredias avatar May 08 '20 04:05 andredias

Duplicate issue and fix in https://github.com/httpie/httpie-http2/issues/7#issuecomment-326809573 is to install latest version of hyper:

pip install -U git+https://github.com/Lukasa/hyper.git

cas-- avatar Aug 20 '21 16:08 cas--