From fa9ca554def370eed8942f4b16f39e2ead127aee Mon Sep 17 00:00:00 2001 From: Hasnain Lakhani Date: Mon, 30 Oct 2023 13:32:00 -0700 Subject: [PATCH] comments --- docs/security.md | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/docs/security.md b/docs/security.md index ecfd04ae62f85..2a1105fea33fe 100644 --- a/docs/security.md +++ b/docs/security.md @@ -508,11 +508,12 @@ The full breakdown of available SSL options can be found below. The `${ns}` plac replaced with one of the above namespaces. - + + @@ -525,9 +526,8 @@ replaced with one of the above namespaces.
When not set, the SSL port will be derived from the non-SSL port for the same service. A value of "0" will make the service bind to an ephemeral port. - -
This setting is not applicable to the `rpc` namespace. + @@ -542,6 +542,7 @@ replaced with one of the above namespaces.
Note: If not set, the default cipher suite for the JRE will be used. + @@ -549,6 +550,7 @@ replaced with one of the above namespaces. + @@ -557,16 +559,19 @@ replaced with one of the above namespaces. Path to the key store file. The path can be absolute or relative to the directory in which the process is started. + + - + + @@ -579,14 +584,15 @@ replaced with one of the above namespaces. this page. + + @@ -595,25 +601,30 @@ replaced with one of the above namespaces. Path to the trust store file. The path can be absolute or relative to the directory in which the process is started. + + - + + + @@ -621,9 +632,9 @@ replaced with one of the above namespaces. + @@ -631,25 +642,27 @@ replaced with one of the above namespaces. + + +
Property NameDefaultMeaning
Property NameDefaultMeaningSupported Namespaces
${ns}.enabled false Enables SSL. When enabled, ${ns}.ssl.protocol is required.ui,standalone,historyServer,rpc
${ns}.portui,standalone,historyServer
${ns}.enabledAlgorithmsui,standalone,historyServer,rpc
${ns}.keyPassword The password to the private key in the key store. ui,standalone,historyServer,rpc
${ns}.keyStoreui,standalone,historyServer,rpc
${ns}.keyStorePassword None Password to the key store.ui,standalone,historyServer,rpc
${ns}.keyStoreType JKSThe type of the key store. This setting is not applicable to the `rpc` namespace.The type of the key store.ui,standalone,historyServer
${ns}.protocolui,standalone,historyServer,rpc
${ns}.needClientAuth false - Whether to require client authentication. This setting is not applicable to the `rpc` - namespace. + Whether to require client authentication. ui,standalone,historyServer
${ns}.trustStoreui,standalone,historyServer,rpc
${ns}.trustStorePassword None Password for the trust store.ui,standalone,historyServer,rpc
${ns}.trustStoreType JKSThe type of the trust store. This setting is not applicable to the `rpc` namespace.The type of the trust store.ui,standalone,historyServer
${ns}.openSSLEnabled false Whether to use OpenSSL for cryptographic operations instead of the JDK SSL provider. - This setting is only applicable to the `rpc` namespace, and also requires the `certChain` - and `privateKey` settings to be set. + This setting requires the `certChain` and `privateKey` settings to be set. + This takes precedence over the `keyStore` and `trustStore` settings if both are specified. + If the OpenSSL library is not available at runtime, we will fall back to the JDK provider. rpc
${ns}.privateKey Path to the private key file in PEM format. The path can be absolute or relative to the directory in which the process is started. - This setting is only applicable to the `rpc` namespace, and is required when using the - OpenSSL implementation. + This setting is required when using the OpenSSL implementation. rpc
${ns}.certChain Path to the certificate chain file in PEM format. The path can be absolute or relative to the directory in which the process is started. - This setting is only applicable to the `rpc` namespace, and is required when using the - OpenSSL implementation. + This setting is required when using the OpenSSL implementation. rpc
${ns}.trustStoreReloadingEnabled false Whether the trust store should be reloaded periodically. - This setting is only applicable to the `rpc` namespace. + This setting is mostly only useful in standalone deployments, not k8s or yarn deployments. rpc
${ns}.trustStoreReloadIntervalMs 10000 The interval at which the trust store should be reloaded (in milliseconds). - This setting is only applicable to the `rpc` namespace. + This setting is mostly only useful in standalone deployments, not k8s or yarn deployments. rpc