cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using libcurl/SSL with in-core certificate

From: Joerg Mueller-Tolk <curl_at_mueller-tolk.de>
Date: Tue, 23 Aug 2005 15:05:03 +0200

Hi Theo

> I have an application that needs to communicate with a single
> https server using a self-signed certificate. The application needs
> to be wholy self-contained (statically linked, no external data files),
> and must be able to run from a read-only filing system. Therefore
> I cannot install a (modified) certificate bundle, nor can I use
> the default certeficate bundle usually installed with curl (the app)

This might not be an option to you,
but you could just skip verifying the peer certificate:
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, FALSE);

Jörg M-T
Received on 2005-08-23