Unlikely Teacher

1. Share Everything* [Programming Gotchas, Technology News, Insights on Living and Everything in Between]

Certificates: PFX to JKS (Java Key Store) Conversion

July 4th, 2008 · No Comments · Java

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!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Reddit
  • StumbleUpon
  • Tumblr
  • Twitter

Tags: ····

No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment