How to safely use curl ignore certificate for testing purposes?

14 Replies, 1755 Views

Hey everyone,
So I’m trying to test something with curl, and I need to *curl ignore certificate* checks for now. I know it’s not the safest thing to do, but it’s just for testing purposes, ya know?

How do I do this properly without messing things up? I’ve seen the `-k` or `--insecure` flag, but I’m not 100% sure if that’s the right way.

Also, is there a way to *curl ignore certificate* but still log the errors or something? Just so I can keep track of what’s happening.

Thanks in advance! And yeah, I know it’s risky, but it’s just for testing, so don’t @ me about security lol.

Cheers!

Messages In This Thread
How to safely use curl ignore certificate for testing purposes? - by - 02-07-2024, 07:54 AM



Users browsing this thread: 1 Guest(s)