Java and Certificates

In setting up Wildfire at work, I discovered an unfortunate “feature” of Java: it encourages you to store certificates and private keys in Java Keystores rather than simple, easily-manipulated PEM-encoded files. This wouldn’t be terrible, since the Java Runtime Environment includes a keytool for manipulating the keystores, except for one thing: the keytool provides no way to import private keys into a keystore! I ended up having to write my own utility to do just that; I’ve posted the source on this site. Enjoy!

2 thoughts on “Java and Certificates

Leave a Reply