How to safely use curl ignore certificate for testing purposes?

14 Replies, 2042 Views

For *curl ignore certificate* checks, `-k` is the way to go. It’s not secure, but for testing, it’s whatever.

If you wanna log errors, you can use `-o` to save the output and `--trace-ascii` to get a detailed log:
`curl -k -o output.txt --trace-ascii trace.log https://example.com`

This’ll give you a ton of info to work with.

Messages In This Thread



Users browsing this thread: 1 Guest(s)