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
|