cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to convert SSL certificate into .PEM

From: Ali Yildirim <aliyildirim_at_hotmail.com>
Date: Thu, 09 Oct 2003 07:05:36 +0000

>
>>Hello all, I get the folowing results when I execute a curl command
>>attempting to access a secure site:
>>
>>D:\cURL\ssl>curl -v --cacert mycert.pem -o test.txt
>>"https://mydomain.mycompany.com/DWNLD.asp?id=128" * About to connect() to
>>mydomain.mycompany.com:443 * Connected to mydomain.mycompany.com
>>(vvv.xxx.yyy.zzz) port 443 * SSL: error:00000000:lib(0):func(0):reason(0)
>>* Closing connection #0 curl: (35) SSL:
>>error:00000000:lib(0):func(0):reason(0)
>
>
>I think you need to use the '-k' option. AFAIK it's the server's
>certificate or (CA-path) that OpenSSL is complaining about, not yours.
>
>
>--gv

I cannot use the -k option. Since our application will be called by a client
using libcurl,
I need to provide our client with the .PEM file.
Thanx,

Ali Yildirim

_________________________________________________________________
Instant message in style with MSN Messenger 6.0. Download it now FREE!
http://msnmessenger-download.com

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Received on 2003-10-09