Tuesday, January 7, 2014

Import the CA certificate into the client keystore

Use the following command to import CA certificate

keytool –import  -keystore client.jks –file new_ca.pem –alias theCARoot


Enter keystore password : test123

Import the signed certificate for the associated client alias in the keystore.Here we have used alias as clientcls while creating the keystore client.jks
Use the following command
keytool –import –keystore clientkeystore –file client.cer –alias client

1 comments:

Unknown said...

On this stage I am getting error at testcsr command prompt when I put command

keytool –import –keystore clientkeystore –file client.cer –alias client

the error is : java.lang.Exception: input not an X.509 certificate

please help me to resolve this

Post a Comment