dimanche 23 octobre 2011

Java Update for Mac OSX changes the default keystore password



Apple decided to change the well-known password of the default Java truststore in their latest updates. I'll file this one under a Let's change the thing and see who complains category.
If you install either:
  • Java for Mac OS X 10.6 Update 1 - Java for Mac OS X 10.6 Update 1
  • Java for Mac OS X 10.5 Update 6 - Java for Mac OS X 10.5 Update 6
The password for the cacerts file was changed to changeme from the usual Sun password of changeit The system cacerts file is located @/Library/Java/Home/lib/security/cacerts
think they're going to change it back to the original though, but you have two options as a recourse:
  1. Switch all programs that need to access the default truststore to use changeme.
  2. Change the truststore password: sudo keytool -storepasswd -new changeit -keystore /Library/Java/Home/lib/security/cacerts -storepass changeme

Aucun commentaire:

Enregistrer un commentaire