Sunday, April 28, 2013

PKCS Keystore using KeyTools

PKCS Keystore using KeyTools

To create a keystore of PKCS12 type (.pfx) you have to specify it with -storetype PKCS12:

keytool -genkey -alias {desired alias certificate} -keystore {path to keystore.pfx} -storepass {password} -validity 365 -keyalg RSA -keysize 2048 -storetype pkcs12

No comments:

Post a Comment

ForgeRock IAM : OpenDS (Open Directory Server). Importing LDIF files

The most efficient method of importing LDIF data is to take the OpenDJ server offline. Alternatively, you can schedule a task to import the ...