Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Dec 242010
 

Use insecure SSL connections and transfers with curl

Answer:

If you have a self-signed SSL certificate with your server, and you want to connect to it using the curl command, you need to use the " -k/--insecure" option since curl only use the CA certificate bundle installed by default.

Example:

# curl -k https://localhost

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>