cURL / Mailing Lists / curl-library / Single Mail

curl-library

curLib and OpenSSL and certificates on Windows

From: <TiborSzoke_at_domino.eWorldES.com>
Date: Fri, 25 Oct 2002 17:33:27 -1000

Hi:
I compiled OpenSSL and Curlib on Linux and Windows.
Tested both environment. For windows I used VC's nmake, for Linux obviously
gcc.
SSL is enabled in curl for both. There's no problem on Linux but when I try
to run a basic

curl https://www.somesite.com command on Windows, I get the following
error:

* SSL: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failedcurl: (35) SSL: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE: certificate verify failed.

As I understand I have to tie OpenSSL with the Curl client some way but I
don't exactly know how.
My PATH includes
OPENSSL_CONF=..\apps\openssl.cnf
OPENSSL_PATH=d:\openssl-0.9.6g
I thought they will be recognized by the openssl .DLL-s but it seems it is
not the case.

Does anybody know what to do?
Any help would be appreciated.

Tibor

-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
Received on 2002-10-26