cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: how to decode SSL errors?

From: Naved Khan <navedk_at_cybage.com>
Date: Tue, 15 Apr 2003 13:31:06 +0530

Hi Marian,

This error maps to CURLE_SSL_CONNECT_ERROR in libCURL. It occurs because of
certificate issues.

Are you using CURL command line utility or using libCURL in your own
applciation?

Specify the complete path of the ca-bundle.crt(which comes with the source
code) with the --cacert option in CURL.
For libcurl, you can use curl_easy_setopt(curl_handle, CURLOPT_CAINFO,
"Fullpath\\ca-bundle.crt");

Hope it helps,
Naved

-----Original Message-----
From: Marian Cerny [mailto:jojo_at_matfyz.cz]
Sent: Tuesday, April 15, 2003 1:12 PM
To: curl-library_at_lists.sourceforge.net
Subject: how to decode SSL errors?

Hello,

how can I find out, what happened?

This is the tebug output:
* About to connect() to 160.218.160.52:8443
* Connected to 160.218.160.52 (160.218.160.52) port 8443
* SSL: error:00000001:lib(0):func(0):reason(1)
* Closing connection #0

I can not find out, what this error "00000001:lib(0):func(0):reason(1)"
means.

Thanks you in advance,
Marian Cerny

--
Marian Cerny <cerny_at_spnv.sk>
ICQ: 98156611
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-15