[redland-dev] Bypassing server's SSL certificate verification in HTTPS ?

Olivier Berger olivier.berger at it-sudparis.eu
Fri Aug 26 16:15:09 CEST 2011


Hi.

It seems to me libcurl is used to fetch the remote server's URI
contents, but for self-signed certs, it results in :

Resolving URI failed: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
rapper: Failed to parse URI https://.../ rdfxml content

I believe it would be possible to implement an option that would add a
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, FALSE) (see
http://curl.haxx.se/docs/sslcerts.html).

What do you think ?

Thanks in advance.

Best regards,
-- 
Olivier BERGER <olivier.berger at it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)



More information about the redland-dev mailing list