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

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

    XMLWordPrintable

Details

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

    Description

      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 ?

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: