cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl with --capath on Mac OS X

From: Sven Schwyn <svoop_at_delirium.ch>
Date: Fri, 4 Apr 2008 15:47:13 +0200

Hi there

I'm trying to teach curl on my Mac (10.5) to verify certificates from
CAcert.org. This is how I do it:

mkdir ~/certs
curl "http://www.cacert.org/certs/class3.crt" >~/certs/cacert.pem
c_rehash ~/certs
curl --capath ~/certs "https://git.bitcetera.com/ssltest.txt"

Here's the funky thing: If I do this on my Gentoo box, it works just
fine.

But with both curl bundled with Leopard and curl from MacPorts (using
+ssl variant) the validation does not work. In fact, it's not even
possible to connect to https://www.paypal.com which should be covered
by the ca-bundle.

Any ideas?
-sven
Received on 2008-04-04