Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8367403

java.security jdkCA documentation assumes use of cacerts file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 17, 21, 25, 26
    • security-libs
    • None

      src/java.base/share/conf/security/java.security

      ===
      # CAConstraint:
      # jdkCA
      # This constraint prohibits the specified algorithm only if the
      # algorithm is used in a certificate chain that terminates at a marked
      # trust anchor in the lib/security/cacerts keystore. If the jdkCA
      # constraint is not set, then all chains using the specified algorithm
      # are restricted. jdkCA may only be used once in a DisabledAlgorithm
      # expression.
      ===

      the lib/security/cacerts file may not exist in some JDK distributions. For some applications, no use of cacerts is made and the store pointed to by the "javax.net.ssl.trustStore" system property is used. I think it might be good to update the doc with respect to this.

            mullan Sean Mullan
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: