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

Update KeyStore.getDefaultType​() specification to return pkcs12 as fallback

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • security-libs
    • None
    • 9
    • b17

      KeyStore.getDefaultType​() still refers to the jks format if the keystore.type security property isn't defined.

      The default keystore type is PKCS12 since JDK 9. Perhaps the "jks" reference can be replaced with a "pkcs12" reference.

      An alternative might be for the JDK to throw an Error if the keystore.type security property isn't defined ?

            bperez Ben Perez
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: