Have you ever needed to extract a private key from a Java KeyStore? It's a pain, but Keytool only allows you to export the certificates, and not the RSA private keys. A colleague needed to do exactly that on Friday afernoon, so on Monday morning I wrote a little utility to do it.
The GetKeyData utility can be used to print both the certificate and private key of any PKI or SSL certificates you may have in a java keystore (as used by tomcat and other J2EE servers).