Using the CURLOPT_CAINFO and my .pem file I succeded in communication,
thanks.

But normally, IE and firefox don't have a collection .pem files.
And normally, you install a license.

How can I use the same system as they do?


Rob Deckers

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Peter Sylvester
Sent: donderdag 15 juli 2010 11:01
To: [email protected]
Subject: Re: receive: Peer certificate cannot be authenticated with
knownCAcertificates

On 07/15/2010 10:26 AM, Deckers, Rob wrote:
> Thanks,
>
> As described in step 3, I converted my .crt files to .pem
> with "openssl x509 -inform DES -in yourdownloaded.crt        -out
> outcert.pem -text"
>
> But I do not understand how I can add both my .crt (or.pem) to de CA 
> cert bundle.
>    

Assuming that 'outcert.pem'  contains the CA certficate that can be used
to validate a server's cert, you just use this file with the  the option
CURLOPT_CAINFO
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html


This message and attachment(s) are intended solely for use by the addressee and 
may contain information that is privileged, confidential or otherwise exempt 
from disclosure under applicable law.

If you are not the intended recipient or agent thereof responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.

If you have received this communication in error, please notify the sender 
immediately by telephone and with a 'reply' message.

Thank you for your co-operation.


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to