Thanks for the heads up! :) Has anyone tried this test case on an IBM JDK?
-Jamie On Mon, Apr 19, 2010 at 7:48 PM, Chris Custine <[email protected]> wrote: > Hi All, > I spent a fair amount of time resolving this issue today while releasing SMX > 4.2 so I thought it was worth documenting here for all of Google to see. > > While running unit tests in the SMX 4 features module, I could not get the > WSSecurityTest to pass on Mac OSX although it appeared to work flawlessly on > Linux. It turns out that Apple changed the default storepass on the cacerts > keystore in a recent update, and this is different from the original Sun > default so some applications will have issues on Mac OSX after this update. > In this case the issue is WSS4J but there isn't really anything they can do > about it. Therefore the solution is to run the following command to change > the password back to the original defaults: > > sudo keytool -storepasswd -new changeit > -keystore > /System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts > -storepass > changeme > > After this, all of the security tests will function properly :-) > > Hope this helps! > > Chris > > -- > Chris Custine > FUSESource :: http://fusesource.com > My Blog :: http://blog.organicelement.com > Apache ServiceMix :: http://servicemix.apache.org > Apache Felix :: http://felix.apache.org > Apache Directory Server :: http://directory.apache.org >
