diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-12-02 10:55:33 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-12-02 10:56:24 +0100 |
commit | 60b811b0123dfb4d18864cebbe4d749dfb001345 (patch) | |
tree | 2da379af3b998be1232552de751bc9af3a16ab64 /docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3 | |
parent | 146ccff7a7c9cdc5bfc9d4f2076a9e57a03c1eb8 (diff) | |
download | curl-bagder/openssl-partial-chain.tar.gz |
openssl: CURLSSLOPT_NO_PARTIALCHAIN can disable partial cert chainsbagder/openssl-partial-chain
Closes #4655
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3 | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3 b/docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3 index ace496abc..fd8504fb6 100644 --- a/docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3 +++ b/docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3 @@ -28,23 +28,27 @@ CURLOPT_SSL_OPTIONS \- set SSL behavior options CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_OPTIONS, long bitmask); .SH DESCRIPTION -Pass a long with a bitmask to tell libcurl about specific SSL behaviors. - -\fICURLSSLOPT_ALLOW_BEAST\fP tells libcurl to not attempt to use any -workarounds for a security flaw in the SSL3 and TLS1.0 protocols. If this -option isn't used or this bit is set to 0, the SSL layer libcurl uses may use a -work-around for this flaw although it might cause interoperability problems -with some (older) SSL implementations. WARNING: avoiding this work-around -lessens the security, and by setting this option to 1 you ask for exactly that. -This option is only supported for DarwinSSL, NSS and OpenSSL. - -Added in 7.44.0: - -\fICURLSSLOPT_NO_REVOKE\fP tells libcurl to disable certificate revocation -checks for those SSL backends where such behavior is present. This option is -only supported for Schannel (the native Windows SSL library), with an -exception in the case of Windows' Untrusted Publishers blacklist which it -seems can't be bypassed. +Pass a long with a bitmask to tell libcurl about specific SSL +behaviors. Available bits: +.IP CURLSSLOPT_ALLOW_BEAST +Tells libcurl to not attempt to use any workarounds for a security flaw in the +SSL3 and TLS1.0 protocols. If this option isn't used or this bit is set to 0, +the SSL layer libcurl uses may use a work-around for this flaw although it +might cause interoperability problems with some (older) SSL +implementations. WARNING: avoiding this work-around lessens the security, and +by setting this option to 1 you ask for exactly that. This option is only +supported for DarwinSSL, NSS and OpenSSL. +.IP CURLSSLOPT_NO_REVOKE +Tells libcurl to disable certificate revocation checks for those SSL backends +where such behavior is present. This option is only supported for Schannel +(the native Windows SSL library), with an exception in the case of Windows' +Untrusted Publishers blacklist which it seems can't be bypassed. (Added in +7.44.0) +.IP CURLSSLOPT_NO_PARTIALCHAIN +Tells libcurl to not accept "partial" certificate chains, which it otherwise +does by default. This option is only supported for OpenSSL and will fail the +certificate verification if the chain ends with an intermediate certificate +and not with a root cert. (Added in 7.68.0) .SH DEFAULT 0 .SH PROTOCOLS |