mirror of
https://github.com/curl/curl.git
synced 2026-08-07 19:32:56 +03:00
curl: add --ca-native and --proxy-ca-native
These are two boolean options to ask curl to use the native OS's CA store when verifying TLS servers. For peers and for proxies respectively. They currently only have an effect for curl on Windows when built to use OpenSSL for TLS. Closes #11049
This commit is contained in:
parent
c78a185df7
commit
9ad23c38e5
8 changed files with 63 additions and 4 deletions
|
|
@ -51,6 +51,9 @@ const struct helptxt helptext[] = {
|
|||
{" --basic",
|
||||
"Use HTTP Basic Authentication",
|
||||
CURLHELP_AUTH},
|
||||
{" --ca-native",
|
||||
"Use CA certificates from the native OS",
|
||||
CURLHELP_TLS},
|
||||
{" --cacert <file>",
|
||||
"CA certificate to verify peer against",
|
||||
CURLHELP_TLS},
|
||||
|
|
@ -274,7 +277,7 @@ const struct helptxt helptext[] = {
|
|||
"Use HTTP 1.1",
|
||||
CURLHELP_HTTP},
|
||||
{" --http2",
|
||||
"Use HTTP 2",
|
||||
"Use HTTP/2",
|
||||
CURLHELP_HTTP},
|
||||
{" --http2-prior-knowledge",
|
||||
"Use HTTP 2 without HTTP/1.1 Upgrade",
|
||||
|
|
@ -474,6 +477,9 @@ const struct helptxt helptext[] = {
|
|||
{" --proxy-basic",
|
||||
"Use Basic authentication on the proxy",
|
||||
CURLHELP_PROXY | CURLHELP_AUTH},
|
||||
{" --proxy-ca-native",
|
||||
"Use CA certificates from the native OS for proxy",
|
||||
CURLHELP_TLS},
|
||||
{" --proxy-cacert <file>",
|
||||
"CA certificate to verify peer against for proxy",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue