cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl for https

From: Bunse, Stephan (Stephan) <stephan.bunse_at_alcatel-lucent.com>
Date: Thu, 1 Aug 2013 13:26:46 +0000

Hello,

I want to write a program, which retrieves information using https. Unfortunately, the server has a self signed certificate, so curl fails, unless the options CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST are set to 0. That works, but I would like to download the certificate of the server, store it and check against it next time. Does anybody have an idea how to do this?

Tnx

Stephan

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-08-01