Open andredias opened 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
httpie-http2
$ http --verify no https://localhost http: error: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Without httpie-http2, http works fine.
Duplicate issue and fix in https://github.com/httpie/httpie-http2/issues/7#issuecomment-326809573 is to install latest version of hyper:
hyper
pip install -U git+https://github.com/Lukasa/hyper.git
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
(withhttpie-http2
) still verifies the certificate:Without
httpie-http2
,http
works fine.