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

10 Replies, 1706 Views

The `-k` option in curl is basically a "skip SSL checks" button. It’s great for testing or when you’re dealing with a server that doesn’t have a valid cert, but it’s not something you’d wanna use in production.

If you’re unsure about a cert, you can use tools like SSL Checker (https://www.sslshopper.com/ssl-checker.html) to see what’s going on. Just remember, `-k` is a shortcut, not a solution.

Messages In This Thread



Users browsing this thread: 1 Guest(s)