cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: API to include cacert using a C string

From: Mindaugas Jaraminas <minde.j_at_gmail.com>
Date: Wed, 6 Jan 2016 08:09:21 +0200

Hi Thomas, I was looking something like that.

There is a tread about it on stackoverflow
https://stackoverflow.com/questions/34543265/how-to-load-pem-certificate-together-with-private-key-in-libcurl-using-mbedtls

-- 
Best regards
MJ
On Tue, Jan 5, 2016 at 8:42 PM, Thomas Glanzmann <thomas_at_glanzmann.de>
wrote:
> Hello,
> I used openssl before and switched recently to mbedtls. Since I'm
> building a windows application I would like to include tha cacert into
> the binary itself. With OpenSSL there is an example[1] for mbedtls there
> was nothing so I wrote a small patch (attached). I would like to know if
> other people are also interested in this and if we should create a
> generic API for all SSL backends to make this possible? If this is the
> case, I would like to work on it.
>
> [1] http://curl.haxx.se/libcurl/c/cacertinmem.html
>
> Cheers,
>         Thomas
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette:  http://curl.haxx.se/mail/etiquette.html
>

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