cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL certificate verify failed

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Wed, 11 Jul 2007 15:22:53 -0500

On 7/11/07, Sanford Walke IV <sewiv_at_izzy.net> wrote:
>
> I've got a script that uses curl to send a file to an SSL-enabled website.
> It's been working for months, until they recently renewed their certificate.
>
> Now I get "error:14090086:SSL
> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed" when I try
> to connect.
>
> I've read through http://curl.netmirror.org/docs/sslcerts.html and
> http://curl.haxx.se/docs/caextract.html. I'm using the newest cacert.pem
> from
> the caextract page. I've inspected their certificate in Firefox, and it's
> signed by Verisign.
>
> I'm running out of ideas. Any thoughts on further reading or steps to take?
>
> --
> Sandy
> Freedom is the opportunity to take responsibility for your actions.
> I don't speak for anyone but myself, and sometimes not even that.

A quick fix would be to try it with --insecure, which stops curl
from verifying the cert. It's probably not a good long-term solution,
but it might be enough to get you going again until someone comes up
with a better answer.

Ralph Mitchell
Received on 2007-07-11