Extract Keypair From JKS

Kevin FOO
Jan 11, 2024

--

I’ve used KeyStore Explorer to create a JKS keystore and created a keypair in it. In my example, I am using the same password for both the JKS and for the keypair.

The certificate in PEM format

The private key in PEM format

The public key in PEM format

Main.java

< Back to all the stories I had written

--

--

Kevin FOO
Kevin FOO

Written by Kevin FOO

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.