I spent a considerable amount of time yesterday trying to figure out how to convert a PFX file to JKS.
I tried several approaches including this one from BEA, but I could not seem to make them work.
It was already very late when I saw an interesting blog post from CB1.
And guess what? His solution worked!
The outlined steps use a special utility from Jetty’s libraries.
java -classpath lib/jetty-6.1.8.jar org.mortbay.jetty.security.PKCS12Import MyCert.pfx MyCert.jks
Thanks to the Jetty developers for providing this utility.
And thanks to the original blog author for the tip.
Jetty rules!
댓글