Importing a Certificate to a Keystore

Import a certificate to a keystore using the following keytool command:

keytool -import -v -noprompt -trustcacerts -alias publicKeyName -file root-cert.cer -keystore keystore.jks

For example:

keytool -import -v -noprompt -trustcacerts -alias ibi -file E:\keystore\ibi.cer -keystore e:/keystore/iwaykeystore.jks

iWay Software

Feedback