Java default keystore cacerts 

Joined:
04/09/2007
Posts:
776

May 02, 2011 15:38:24    Last update: May 02, 2011 15:38:57
When you run a Java application, the default place it looks for trusted certificates is $JAVA_HOME/jre/lib/security/cacerts, which is a keystore that contains a list of trusted CA certificates. You can use the keytool to list the certificates:

C:\>keytool -list -keystore C:\jdk1.6.0_20\jre\lib\security\cacerts
Enter keystore password:


Simply hit return when asked for password, no password is required to list trusted certificates in a keystore.
Share |
| Comment  | Tags