cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl error with openssl for CURLOPT_SSL_VERIFYPEER set to true

From: Indtiny s <indtiny_at_gmail.com>
Date: Thu, 4 Oct 2012 12:04:40 -0400

Hi,

Still I am not able to get it working when curl peer verify is enabled .

I verified my certificates using openssl command .

$ openssl x509 -noout -text -in server.crt
$ openssl rsa -noout -text -in server.key

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

>>>
Now I am using the PEM certificates only , but I get another error when
peer verify is enabled .

* SSL peer certificate or SSH remote key was not OK
curl_easy_perform() failed: SSL peer certificate or SSH remote key was not
OK
I think my cerificate is corrent and in right format .

How cross verify my cerificate is OK for the curl ..?

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