You can find out if CA certificates will work to sign Java code by looking at the Java cacerts file, which lists all the CAs known by Java. If their certificate is in this file, then Java will not complain about the signed code. If it is not, it will alert users. For example:
root@girflet:~# keytool -list -keystore /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/security/cacerts | grep comodo
Enter keystore password: changeit
comodoaaaca, 02-May-2006, trustedCertEntry,
Please note that I had to enter the default keystore password, changeit. This command should also work on Windows, although you will have to change the path to the cacerts file and you will not have grep. Use more, not pages, until you find or find what you are looking for.
To date, Comodo is in the cacerts file, but startssl is not. Thus, startssl cert will not be very good for Java code.
user232021 Dec 15 '09 at 11:01 2009-12-15 11:01
source share