cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl checks ssl certificate even with -k/--insecure key

From: romeros.amp <romeros.amp_at_gmail.com>
Date: Wed, 19 Sep 2012 13:16:02 -0700

Hi guys,

I am running curl command with -k option trying to get a file from a
corporate github, but curl call fails and i receive a message

"curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). The default
 bundle is named curl-ca-bundle.crt; you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option."

I am using CentOS release 5.4
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-19