cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to convert SSL certificate into .PEM

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Wed, 1 Oct 2003 16:59:31 +0200

"Ali Yildirim" <aliyildirim_at_hotmail.com> said:

> 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

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-01