When testing https to a test machine that has a self-signed certificate, it is handy to be able to disable certificate verification.
$ http https://192.168.4.137/test
http: error: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:547)
vs:
$ curl --insecure https://192.168.4.137/test
... got what I was expecting here ...
You can do http --verify=no https://129.168.4.137/test
, at least with the current master branch.
Yes, --verify=no
does the trick.
It would be nice if the the utility also accepted --verify=false
@zeknox that is also accepted:
Does it not work for you?
@jakubroztocil you're correct, it did work just now 🤷♂️
Most helpful comment
You can do
http --verify=no https://129.168.4.137/test
, at least with the current master branch.