Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5206

java.txt file contains both security properties and system properties

    • Normal
    • sst_security_crypto
    • ssg_security
    • False
    • Hide

      None

      Show
      None
    • If docs needed, set a value

      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.

            asosedki@redhat.com Alexander Sosedkin
            rhn-engineering-ahughes Andrew Hughes
            Alexander Sosedkin Alexander Sosedkin
            SSG Security QE SSG Security QE
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: