cURL / Mailing Lists / curl-library / Single Mail


Re: Certificate verificaion fails when using CURLOPT_CAINFO to intermediate

From: Daniel Stenberg <>
Date: Thu, 12 Jan 2012 22:27:21 +0100 (CET)

On Wed, 11 Jan 2012, Johannes Bauer wrote:

> Doing the same thing with curl now:
> $ curl --cacert intermed.crt --capath /sys
> curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
> error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
> verify failed


> Can somebody please enlighten me why the behavior of cURL differs form
> that of openssl?

I'm not sure anyone can, at least I can't. I think you need to debug the both
ways and see how the function calls to do the check differ. It surprises me as
it is basically a single OpenSSL function call...

List admin:
Received on 2012-01-12