Thanks Scott, There's one but: keytool creates the new keystore in the source folder so the mv commands in your script fail. I found a shortcut to simply change the password: sudo keytool -keystore "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts" -storepasswd -new "changeit" Enter password: <your sudo password> Enter password: changeme
Good to see that there are more Apple users on this list :-) -Jeroen On Mon, Dec 7, 2009 at 9:26 PM, Scott Gray <scott.g...@hotwaxmedia.com>wrote: > Hi Jeroen, > > I encountered this as well and ended up fixing it by making a fresh copy of > the keystore: > cd /Users/<yourusername> > keytool -importkeystore -srckeystore > /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts > -destkeystore newcacerts > Enter destination keystore password: changeit > Re-enter new password: changeit > Enter source keystore password: <leave empty> > sudo mv newcacerts > /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/Contents/Home/lib/security > sudo mv cacerts oldcacerts > sudo mv newcacerts cacerts > > Hope that helps. > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > > On 8/12/2009, at 9:17 AM, Jeroen van der Wal wrote: > > When you run Ofbiz on OSX using the latest Java 1.6 update you will get >> this >> exception: >> Exception: java.io.IOException >> Message: Keystore was tampered with, or password was incorrect >> According to another ML Apple changed the password of the keystore from >> "changeit" to "changeme": >> >> http://www.igniterealtime.org/community/message/198636;jsessionid=412F0FABBD127068FC5E0FD1C5942383 >> Apple is already aware of this issue: >> http://lists.apple.com/archives/java-dev/2009/Dec/msg00105.html >> There's probably a workaround, I could figure out how to change the >> password, but I quit for today and see tomorrow. Just wanted to let you >> know... >> >> -Jeroen >> BTW If you're not able to compile create a symbolic link from >> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK to >> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0 >> > >