]> git.ipfire.org Git - thirdparty/curl.git/commit
SSL: support in-memory CA certs for some backends
authorGilles Vollant <info@winimage.com>
Mon, 13 Jul 2020 01:17:56 +0000 (03:17 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 5 May 2021 06:29:16 +0000 (02:29 -0400)
commit77fc3859b24470b5c173174e2aba3b099b92adfd
tree010c3dfb572cd78b1b88187bb5dfc4200eeb1638
parent70cf50fb4aa5e55ca2e732716a4f455d39192088
SSL: support in-memory CA certs for some backends

- New options CURLOPT_CAINFO_BLOB and CURLOPT_PROXY_CAINFO_BLOB to
  specify in-memory PEM certificates for OpenSSL, Schannel (Windows)
  and Secure Transport (Apple) SSL backends.

Prior to this change PEM certificates could only be imported from a file
and not from memory.

Co-authored-by: moparisthebest@users.noreply.github.com
Ref: https://github.com/curl/curl/pull/4679
Ref: https://github.com/curl/curl/pull/5677
Ref: https://github.com/curl/curl/pull/6109

Closes https://github.com/curl/curl/pull/6662
24 files changed:
docs/libcurl/curl_easy_setopt.3
docs/libcurl/opts/CURLOPT_CAINFO.3
docs/libcurl/opts/CURLOPT_CAINFO_BLOB.3 [new file with mode: 0644]
docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3
docs/libcurl/opts/CURLOPT_PROXY_CAINFO_BLOB.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.inc
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/doh.c
lib/easyoptions.c
lib/setopt.c
lib/url.c
lib/urldata.h
lib/vtls/openssl.c
lib/vtls/schannel.c
lib/vtls/schannel_verify.c
lib/vtls/sectransp.c
lib/vtls/vtls.c
lib/vtls/vtls.h
packages/OS400/curl.inc.in
tests/data/Makefile.inc
tests/data/test678 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib678.c [new file with mode: 0644]