Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
cacerts password missing
Joined: Oct 14, 2004
Oct 01, 2009 14:36:26
I inherited a system and I need to do some work on cacerts (import some certificates). So first thing I want to do is change password from the default "changeit"
bash-3.00# /usr/jdk/instances/jdk1.5.0/jre/bin/keytool -storepasswd -keystore /usr/jdk/instances/jdk1.5.0/jre/lib/security/cacerts -new newpassword
Enter keystore password: changeit
: Keystore was tampered with, or password was incorrect
...so it looks like the password isn't "changeit". If I try with a blank password:
Enter keystore password: keytool error: java.lang.NullPointerException
...I get the NPE above. So...does that mean the password has already been changed? If so, is there a way for me to "override" what is already there?
Joined: Aug 10, 2006
Oct 01, 2009 18:01:53
I believe the password is only used to verify integrity for trusted certificates. So if you try some variant on the following command
keytool -importkeystore -srckeystore cacerts -destkeystore newcacerts
you can create a new keystore and have a chance to add a password for integrity checking.
Nice to meet you.
Don't get me started about those stupid
subject: cacerts password missing
file dialog box does not appear if jar included via applet tag
problem calling a remote webservice [ Algo Error]
Error trying to import CA Certificate
SOAP over HTTPS / SSL
No trusted certificate found : when opeing a ssl connection from behind the proxy.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013