"What Does -k Do in the Curl Command in Linux? Can Someone Explain?"

10 Replies, 1703 Views

So, the `-k` flag in curl is basically a shortcut to skip SSL cert checks. It’s useful when you’re dealing with internal servers or testing environments where certs might not be properly configured.

But here’s the thing: it’s not secure for regular use. If you’re accessing a public site, you should always verify the cert. Tools like OpenSSL can help you inspect certs if you’re curious.

Messages In This Thread



Users browsing this thread: 1 Guest(s)