fix: refining https-protocols documentation (#43420)

closes: #43164

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
Steven Hawkins 2025-10-14 08:01:08 -04:00 committed by GitHub
parent 5c5905fed3
commit 700b86fad8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 35 additions and 13 deletions

View File

@ -52,7 +52,7 @@ However, as a temporary work-around, you can enable deprecated protocols by runn
<@kc.start parameters="--https-protocols=<protocol>[,<protocol>]"/>
To also allow TLSv1.2, use a command such as the following: `kc.sh start --https-protocols=TLSv1.3,TLSv1.2`.
For example to only enable TLSv1.3, use a command such as the following: `kc.sh start --https-protocols=TLSv1.3`.
== Switching the HTTPS port
{project_name} listens for HTTPS traffic on port `8443`. To change this port, use the following command:

View File

@ -61,8 +61,10 @@ public class HttpOptions {
public static final Option<List<String>> HTTPS_PROTOCOLS = OptionBuilder.listOptionBuilder("https-protocols", String.class)
.category(OptionCategory.HTTP)
.description("The list of protocols to explicitly enable.")
.defaultValue(Arrays.asList("TLSv1.3,TLSv1.2"))
.description("The list of protocols to explicitly enable. If a value is not supported by the JRE / security configuration, it will be silently ignored.")
.expectedValues(Arrays.asList("TLSv1.3", "TLSv1.2"))
.strictExpectedValues(false)
.defaultValue(Arrays.asList("TLSv1.3", "TLSv1.2"))
.build();
public static final Option<String> HTTPS_CERTIFICATES_RELOAD_PERIOD = new OptionBuilder<>("https-certificates-reload-period", String.class)

View File

@ -257,7 +257,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -336,7 +336,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -305,7 +305,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -337,7 +337,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -271,7 +271,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -303,7 +303,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -304,7 +304,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -336,7 +336,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -302,7 +302,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.

View File

@ -334,7 +334,9 @@ HTTP(S):
no value is set, it defaults to 'BCFKS'.
--https-port <port> The used HTTPS port. Default: 8443.
--https-protocols <protocols>
The list of protocols to explicitly enable. Default: TLSv1.3,TLSv1.2.
The list of protocols to explicitly enable. If a value is not supported by the
JRE / security configuration, it will be silently ignored. Possible values
are: TLSv1.3, TLSv1.2, or a custom one. Default: TLSv1.3,TLSv1.2.
--https-trust-store-file <file>
The trust store which holds the certificate information of the certificates to
trust.