Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Where Is the System-wide CA Keystore

843811Aug 25 2008
Hi All,

I'm trying to add certificates to my keystore located at +$JRE_INSTALL$+/lib/security/cacerts on a Unix box (SunOS 5.10). I've verified that it's empty by running keytool -list -keystore cacerts in the same folder. In the same folder, I then ran keytool -importcert -trustcacerts -alias alias1 -storepass **** -file alias1.der -keystore cacerts*. I then got the message *{color:#800000}Certificate already exists in system-wide CA keystore under alias <+duplicating_alias+>...{color}*". What gives? How can I determine where this system-wide keystore is? How can I force the JRE to use the one in +$JRE_INSTALL$+/lib/security ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2008
Added on Aug 25 2008
0 comments
1,305 views