SHYAM RAO
How to import PFX file into JKS using pkcs12import utility
The pkcs12import utility allows Public-Key Cryptography Standards version 12 (PKCS-12) files (referred to as PFX files) to be imported into a keystore, typically a keystore of type Java KeyStore (JKS).
If you have PKCS-12 formatted file, you would import
this key-pair (certificate/private-key pair) into your private keystore
using the pkcs12import utility. The result of
the import is that the private-key and the corresponding certificate in
the PKCS-12 file are stored as a key entry inside the keystore,
associated with some alias.
The pkcs12import utility can be found here. Unzip the downloaded pkcs12import.zip file. pkcs12import utility can be run from the command line by executing pkcs12import.sh (on Unix systems) or pkcs12import.bat (on Windows systems). Before executing this script, make sure JAVA_HOME environment variable points to your JAVA installation.
Posted at 04:28PM Jul 18, 2007 by Shyam Rao in WebServicesSecurity | Comments[1]



