curl/docs/cmdline-opts/proxy-ca-native.md
Jay Satiro 2335cbaa21 ca-native.md: sync with CURLSSLOPT_NATIVE_CA
- Add that the native CA store is used to verify certs in addition to
  the other certificate location settings.

Basically clarify that --ca-native does not override --cacert etc.

Prior to this change that behavior was only documented in
CURLSSLOPT_NATIVE_CA which is what --ca-native maps to.

Ref: https://github.com/curl/curl/pull/16181#issuecomment-2663998865

Closes https://github.com/curl/curl/pull/16373
2025-02-19 03:39:52 -05:00

31 lines
733 B
Markdown

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: proxy-ca-native
Help: Load CA certs from the OS to verify proxy
Protocols: TLS
Category: tls
Added: 8.2.0
Multi: boolean
See-also:
- ca-native
- cacert
- capath
- dump-ca-embed
- insecure
Example:
- --proxy-ca-native $URL
---
# `--proxy-ca-native`
Use the operating system's native CA store for certificate verification of the
HTTPS proxy.
This option is independent of other HTTPS proxy CA certificate locations set at
run time or build time. Those locations are searched in addition to the native
CA store.
Equivalent to --ca-native but used in HTTPS proxy context. Refer to --ca-native
for TLS backend limitations.