We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 ...
The text was updated successfully, but these errors were encountered:
You can do http --verify=no https://129.168.4.137/test, at least with the current master branch.
http --verify=no https://129.168.4.137/test
Sorry, something went wrong.
Yes, --verify=no does the trick.
--verify=no
It would be nice if the the utility also accepted --verify=false
--verify=false
@zeknox that is also accepted:
https://github.com/jakubroztocil/httpie/blob/aae596d4724b39d3ad0da0ef4d6a5e7eb98ae418/httpie/client.py#L230-L235
Does it not work for you?
@jakubroztocil you're correct, it did work just now 🤷♂️
No branches or pull requests
When testing https to a test machine that has a self-signed certificate, it is handy to be able to disable certificate verification.
vs:
The text was updated successfully, but these errors were encountered: