cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL problem

From: Hofer Tamás András <rrhta_at_freemail.hu>
Date: Fri, 06 Dec 2002 14:35:18 +0100

Hofer Tamás András wrote:

> Hi,
>
> I have a problem running curl in a limited boot disk environment. I am
> not sure what the problem could be, I hope you can help me.
>
> The software is curl-7.10.2, openssl-0.9.6g, zlib-1.1.4 compiled with
> gcc 3.2. I have both a full Linux system and a boot disk system with
> the same software.
>
> In the boot disk environment I try to run:
> curl -v -3 --key /usr/cl_1.key --cert /usr/cl_1.crt --cacert
> /usr/ca.crt -G -o - --connect-timeout 5
> https://192.168.0.222:4724/restore/test2.bin >/dev/null

I replaced the call to SSL_CTX_use_certificate_chain_file in
the SSL_FILETYPE_PEM case with SSL_CTX_use_certificate_file from the
SSL_FILETYPE_ASN1 case and it works -- maybe you know why... :-) But all
the keys and certificates are in PEM format.

Thomas.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-12-06