cURL / Mailing Lists / curl-users / Single Mail

curl-users

ssl issue with curl

From: a a <you2bepie_at_yahoo.com>
Date: Fri, 8 Feb 2013 11:18:13 -0800 (PST)

curl https://launchpad.net fails with cert issue:

--
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
---
the browser (firefox) works fine. I can look at the chain in the browser which includes:
Go_Daddy_Class_2_CA.pem
and
Go_Daddy_Root_Certificate_Authority_-_G2.pem
-
but both of these are found in:
ca-certificates.crt
-
strace indicates that curl is reading ca-certificats.crt
(well to be precise:
open("/etc/ssl/certs/ca-certificates.crt", O_RDONLY|O_LARGEFILE) = 5
--
)
So what i cannot figure out is exactly why curl is rejecting this certificate. Could it be the order of the certs in the file ?
-

-------------------------------------------------------------------
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 2013-02-08