mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:33:33 +03:00
docs: explain how PINNEDPUBLICKEY is independent of VERIFYPEER
- Explain that peer verification via CURLOPT_PINNEDPUBLICKEY takes place even if peer verification via CURLOPT_SSL_VERIFYPEER is turned off. The behavior is verified by test2048. Bug: https://github.com/curl/curl/issues/2935#issuecomment-418371872 Reported-by: claudiusaiz@users.noreply.github.com Bug: https://github.com/curl/curl/discussions/11910 Reported-by: Hakan Sunay Halil Closes https://github.com/curl/curl/pull/11930
This commit is contained in:
parent
34cdcb9b96
commit
398c59ae63
2 changed files with 12 additions and 3 deletions
|
|
@ -21,12 +21,18 @@ indicating its identity. A public key is extracted from this certificate and
|
|||
if it does not exactly match the public key provided to this option, curl
|
||||
aborts the connection before sending or receiving any data.
|
||||
|
||||
This option is independent of option --insecure. If you use both options
|
||||
together then the peer is still verified by public key.
|
||||
|
||||
PEM/DER support:
|
||||
|
||||
OpenSSL and GnuTLS (added in 7.39.0), wolfSSL (added in 7.43.0), mbedTLS (added in 7.47.0)
|
||||
OpenSSL and GnuTLS (added in 7.39.0), wolfSSL (added in 7.43.0), mbedTLS
|
||||
(added in 7.47.0), Secure Transport macOS 10.7+/iOS 10+ (7.54.1), Schannel
|
||||
(7.58.1)
|
||||
|
||||
sha256 support:
|
||||
|
||||
OpenSSL, GnuTLS and wolfSSL (added in 7.44.0), mbedTLS (added in 7.47.0)
|
||||
OpenSSL, GnuTLS and wolfSSL (added in 7.44.0), mbedTLS (added in 7.47.0),
|
||||
Secure Transport macOS 10.7+/iOS 10+ (7.54.1), Schannel (7.58.1)
|
||||
|
||||
Other SSL backends not supported.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue