httpie / httpie-http2

(DEPRECATED) Experimental HTTP/2 plugin for HTTPie
https://httpie.org
Other
68 stars 4 forks source link

'http --verify no' does verify SSL Certificate #12

Open andredias opened 4 years ago

andredias commented 4 years ago

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.

cas-- commented 3 years ago

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