Is curl insecure by default, or are there steps to secure it properly?

18 Replies, 1142 Views

Honestly, curl insecure by default is kinda overblown. It’s not *that* bad if you’re just doing quick stuff. But yeah, if you’re dealing with sensitive data, you gotta tweak it.

Disabling SSLv3 is a must—it’s ancient and full of holes. Forcing TLS 1.2+ is smart too. You can also use `--proto` to restrict protocols.

For certs, curl does verify them, but you can add `--pinnedpubkey` to pin certs if you’re extra cautious.

If you’re lazy (like me), check out tools like Postman or Insomnia—they handle a lot of this stuff for you.

Messages In This Thread



Users browsing this thread: 1 Guest(s)