mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
fix: refining https-protocols documentation
closes: #43164 (cherry picked from commit 700b86fad85c17d90cc133013e5704e760f30686) Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
parent
a97613bf7b
commit
f20dd66196
@ -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:
|
||||
|
||||
@ -59,8 +59,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)
|
||||
|
||||
@ -183,7 +183,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.
|
||||
|
||||
@ -243,7 +243,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.
|
||||
|
||||
@ -215,7 +215,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.
|
||||
|
||||
@ -244,7 +244,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.
|
||||
|
||||
@ -192,7 +192,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.
|
||||
|
||||
@ -221,7 +221,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.
|
||||
|
||||
@ -214,7 +214,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.
|
||||
|
||||
@ -243,7 +243,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.
|
||||
|
||||
@ -212,7 +212,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.
|
||||
|
||||
@ -241,7 +241,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