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

Enhance keystore load debug output

XMLWordPrintable

    • b08
    • generic
    • generic

        It's often difficult to find out if enterprise apps are using the correct keystore or if they're even finding one at all.

        the java.security.debug system related properties could be used to print out the number and type of keys found in the various keystores.

        e.g.
        keystore: JavaKeyStore load: private key count: 0. trusted key count: 92
        keystore: JceKeyStore load: private key count: 1. trusted key count: 1. secret key count: 1
        pkcs12: PKCS12KeyStore load: private key count: 1. secret key count: 0. certificate count: 1

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

                Created:
                Updated:
                Resolved: