-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-8.3.0
-
None
-
Moderate
-
sst_security_crypto
-
ssg_security
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
See bug 1882168 & bug 1882185.
Java supports two types of properties; system properties (set at the command line by -Dx=y) [0] and security properties (set in lib/security/java.security) [1].
The current Java support for the crypto policies assumes that the contents of java.txt are security properties.
However, one - jdk.tls.ephemeralDHKeySize - is actually a system property and so needs different handling. It also has an invalid value of 1023 for the legacy policy.
We can provide support for setting system properties from the crypto policy in OpenJDK, but we first need these properties to ideally be stored in a separate file, or otherwise clearly denoted if they must share a single file.
I presume we need this fix in Fedora as well as RHEL 8 for consistency.