You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Tomasz Oponowicz <to...@gmail.com> on 2010/02/14 11:53:50 UTC

"Keystore was tampered with, or password was incorrect" exception on MacOS X

Hello CXF Dev Team,

First of all it isn't CXF issue, but I think it is worth to notice.

At the moment unit tests end with failure, on MacOS X Leopard / Snow
Leopard. Caused by:

java.io.IOException: Keystore was tampered with, or password was incorrect

Affected versions:
- Mac OS X 10.5.6 and higher with Java for Mac OS X 10.5 update 6
- Mac OS X 10.6.x and higher with Java for Mac OS X 10.6 update 1

Last Java update changed password for the “cacerts” file, from the
default Sun password of “changeit” to “changeme”.

To repair, execute commonad:
sudo keytool -storepasswd -new changeit -keystore
/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts
-storepass changeme

After this everything works just fine.

Tomasz Oponowicz