Solutions Log by Dan Reiland

18Feb/110

Add Certificate to Java Keystore on OS X

This is something I find myself doing annually and always need to look it up. I am putting this here to save me a few searches.

sudo keytool -importcert -alias dev -file certfile.cer -keystore /Library/Java/Home/lib/security/cacerts

The password will either be changeme or changeit

References:
http://mattfleming.com/node/310
http://www.java-samples.com/showtutorial.php?tutorialid=669

Tagged as: Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.