Certificates: PFX to JKS (Java Key Store) Conversion

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!


1 Comment »

  1. […] Nice one blogged here and here.. […]

RSS feed for comments on this post · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: