cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL failed with curl for self signed certs

From: Oscar Koeroo <okoeroo_at_nikhef.nl>
Date: Thu, 11 Oct 2012 20:33:21 +0200

On 11-10-12 10:14, Indtiny s wrote:
> Hi,
> I am using the tool which is given by zigbee aliance to generate the
> selfsigned CA certs , there I can not add the subject .
>
> I have disabed the host verification in (lib)curl (CURLOPT_SSL_VERIFYHOST,
> 0L);
> But still I am getting the same error .
>
> How to manually add the subject name to certtificate .

Hi,

Please set CURLOPT_SSL_VERIFYPEER to 0L too. That will probably do the trick.

Creating a self-signed certificate in a more standardized way is not to
hard. There is sufficient information available that fits your working
environment in the best possible way.

        Oscar
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-11