curl / Mailing Lists / curl-library / Single Mail


Re: [DKIM] How to send intermediate certificate?

From: Jun Sun via curl-library <>
Date: Fri, 5 Apr 2019 09:57:06 -0700

Thanks for pointing it out!

It looks like libcurl will automatically send intermediate certs from
pkcs12 file. This is actually the exact case of mine! So far I have been
parsing pkcs12 file myself and read those certs/key into memory. It looks
like there is an easier way to use libcurl directly parsing pkcs12 file.

Is there an existing example I can try that approach?


On Fri, Apr 5, 2019 at 2:26 AM Zakrzewski, Jakub via curl-library <> wrote:

> ------------------------------
> *From:* curl-library <> on behalf of Jun
> Sun via curl-library <>
> > I have followed the example of using user certificate in memory,
> , 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:
> -------------------------------------------------------------------
> Unsubscribe:
> Etiquette:

Received on 2019-04-05