cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl error with openssl for CURLOPT_SSL_VERIFYPEER set to true

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 5 Oct 2012 23:29:45 +0200 (CEST)

On Thu, 4 Oct 2012, Indtiny s wrote:

> I verified my certificates using openssl command .
>
> $ openssl x509 -noout -text -in server.crt
> $ openssl rsa -noout -text -in server.key

Server KEY? What exactly are you doing with these files?

> How to know more about the error which I am getting in the curl ..?

Which is the exact return code you got? It sounds like a "normal" case of not
being able to verify the server cert with the ca bundle you use.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-05