curl-users
Curl problem on Windows: curl: (60) SSL certificate problem
Date: Tue, 11 Jan 2011 16:48:45 +0100
Hi,
I was trying to make some test request to:
https://api-3t.sandbox.paypal.com/nvp
Bust Curl (7_15_1, 7_19_3, 7_21_1) says :
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
More details here: http://curl.haxx.se/docs/sslcerts.html
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.
Opening https://api-3t.sandbox.paypal.com/nvp in Firefox, Chrome or IE they
all show that the certificate is valid. I am using Windows 7
On Mac or Linux, the problem does not appear.
Is this a bug in the open SSL or Curl?
Thanks!
Gabriel
-- Gabriel Petrovay Software Architect 28msec Inc. http://www.28msec.com/ http://twitter.com/28msec
-------------------------------------------------------------------
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 2011-01-11