Home » Questions » Computers [ Ask a new question ]

Which trusted root certificates are included in Java?

Which trusted root certificates are included in Java?

Which trusted root certificates are included in Java, specifically Sun Java and IBM Java? How can I get the list myself? Does Java on Windows use certificates from operating system?

Asked by: Guest | Views: 357
Total answers/comments: 1
Guest [Entry]

"Go to the ""Java Control Panel"", ""Secure"" tab and click on ""Certificates"". Go to ""System"" tab and select ""Secure CA"" or ""Secure Sites CA"" from the drop down.

IIRC, the certificates are stored in a Java serialised file in jre/lib/security/cacerts. This is a standard Java keystore that can be manipulated with the keytool utility:

keytool -keystore ""$JAVA_HOME\jre\lib\security\cacerts"" -storepass changeit -list

I believe Mac OS X now uses the OS to handle certificates."