Add an --insecure / -k option to disable SSL certificate verification
See original GitHub issueWhen 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 ...
Issue Analytics
- State:
- Created 9 years ago
- Reactions:6
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to ignore invalid and self signed ssl connection errors ...
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. Here is one useful example where...
Read more >Ignore SSL Certificate Checks with Curl - ReqBin
To bypass SSL certificate validation for local and test servers, you can pass the -k or --insecure option to the Curl command. This...
Read more >How to ignore SSL certificate error in cURL - Simplified Guide
Steps to disable SSL certificate verification in cURL: · Run curl against website with SSL error. · Use insecure option for curl to...
Read more >Curl: disable certificate verification - Server Fault
(SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers. All SSL connections are attempted to be made ...
Read more >Curl Ignore SSL certificate warning using the -k or --insecure flag
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. The -k or --insecure flag can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.