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!

cacerts password forget

803628Oct 7 2010 — edited Oct 7 2010
Hi guys,

I meet a problem which is about cacerts (C:\Program Files\Java\jdk1.6.0_07\jre\lib\security) password.

keytool -import -alias xxx -keystore cacerts -file xxx.crt

Our company's previous guy changed the default password of cacerts "changeit". Now, I want to import some server root certificate into the cacerts file, but it needs a password. I tried some passwords commonly used in our company (include "changeme"), but it doesn't work.

Also, I google it, but no good answer.

Some ways I have tired until now:

1. Ask the previous guy, he said he forget that.
2. Someone may tell me, get a new cacerts file and import the certificate into the new cacerts and then replace the old one. I don't think it is a good way, because our cacerts used contain a lot of server root certificate the previous guy imported. If replace the old one, our company can't work....big problem

So, I hope you can give me some good ideas.

Many thanks for your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2010
Added on Oct 7 2010
1 comment
1,844 views