I am trying to make a curl request to one of our local development servers running a dev site with a self-signed SSL cert. I am using curl from the command line.
I saw some blog posts mentioning that you can add to the list of certificates or specify a specific (self signed) certificate as valid, but is there a catch-all way of saying "don't verify" the ssl cert – like the --no-check-certificate
that wget has?
Best Answer
Yes. From the manpage:
The reference mentioned in that manpage entry describes some of the specific behaviors of
-k
.These behaviors can be observed with
curl
requests to test pages from BadSSL.com