HOWTO: Import RSA Private Key and x.509 Cert into Java Keystore
In all seriousness, the instructions there for Jetty generate a keystore usable anywhere, not just for Jetty. I've always thought that Jetty rocks as a servlet container, turns out it is an awesome key and certificate management tool too!