Re: Programmatically provide CA bundle?
Date: Tue, 28 Apr 2020 13:12:51 -0400 (EDT)
> On April 28, 2020 at 11:44 AM Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> Maybe like the cacertinmem.c example?https://curl.haxx.se/libcurl/c/cacertinmem.html
Thank you! (Not sure why I didn't find that.)
> You will of course still have to make sure that you have the current set of certs in there.
Right, I was planning to use "openssl s_client -showcerts -servername server -connect server:443 > cacert.pem" as described at https://curl.haxx.se/docs/sslcerts.html, and possibly adding some of the more popular certs for a bit of future-proofing.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-04-28