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

18 Replies, 1136 Views

curl insecure by default? Yeah, kinda. But it’s not like it’s unusable.

The big thing is updating curl and your SSL/TLS libraries. Old versions are way worse. Then, yeah, force TLS 1.2+ and disable weak ciphers.

For certs, curl does verify them, but you can use `--capath` or `--cacert` to specify trusted CAs.

If you’re scripting a lot, consider using a wrapper like httpie—it’s more secure out of the box and easier to use.

Messages In This Thread



Users browsing this thread: 1 Guest(s)