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

18 Replies, 1137 Views

curl insecure by default is a thing, but it’s not like you’re screwed.

First, update curl and your SSL/TLS libs. Then, yeah, force TLS 1.2+ and disable SSLv3.

For certs, curl does verify them, but you can use `--cacert` to specify a CA bundle.

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)