curl-library
How to use certificate in pkcs 12 format
From: Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>
Date: Thu, 25 Sep 2008 15:32:32 +0530
Received on 2008-09-25
Date: Thu, 25 Sep 2008 15:32:32 +0530
Dear All,
I want to know if our certificate is in .p12 format. How we can use it?
And How we can set curl_easy_setopt() API and how we set file type etc.
One doubt I also have I used root CA certificate in .der format I set curl
option like :
curl_easy_setopt(curl, CURLOPT_CAINFO, "Root Cert.der");
when I performed using API:
curl_easy_perform(curl);
Then I got error: CURLE_SSL_CACERT_BADFILE.
But I saw file name correct.
Please tell me what is reason and how we can remove this error.
Thank you.
Regards,
--Ajeet Kumar Singh