curl-library
CURLOPT_SSL_VERIFYPEER without CURLOPT_CAINFO?
From: Sebastian Brückner <sb_at_thebackend.de>
Date: Thu, 02 Mar 2006 13:30:55 +0100
Date: Thu, 02 Mar 2006 13:30:55 +0100
Hello everyone,
I am using libcurl on Windows. I want to use it to automatically connect 
to one specific server (and verify its certificate). Since there is no 
need to change the certificate I integrated it into the application and 
insert it via X509_STORE_add_cert() in the CURLOPT_SSL_CTX_FUNCTION 
callback [1].
As the next step I would like to avoid using CURLOPT_CAINFO altogether 
to make working without any external configuration files possible. Any 
hints on how to achieve that?
Thanks in advance,
Sebastian
[1] http://curl.haxx.se/lxr/source/docs/examples/cacertinmem.c
Received on 2006-03-02