________________________________
From: curl-library <curl-library-boun...@cool.haxx.se> on behalf of Jun Sun via 
curl-library <curl-library@cool.haxx.se>

> I have followed the example of using user certificate in memory,  
> https://curl.haxx.se/libcurl/c/usercertinmem.html , and it worked great!

> In my environment, however, we have an intermediate CA and the client needs 
> to sends its certificate to server as well.  How do I do that?


I guess you have to work with OpenSSL function like 
SSL_CTX_add_extra_chain_cert.

libcurl seems to use it also: 
https://github.com/curl/curl/blob/efd9fba68189c70c2a48d9726b25df25ba87fcd0/lib/vtls/openssl.c#L799?
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to