mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
fix: refining https-protocols documentation (#43420)
closes: #43164 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
parent
5c5905fed3
commit
700b86fad8
@ -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:
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user