Quick Actions
keytool -importkeystore
Description
Import one or all entries from another keystore.
Command
keytool -importkeystore
Examples
Import all entries
keytool -importkeystore -srckeystore old.jks -destkeystore new.jks
Import specific entry
keytool -importkeystore -srckeystore old.jks -destkeystore new.jks -srcalias mykey -destalias mykey
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
-srckeystore |
string | No | Source keystore location |
-destkeystore |
string | No | Destination keystore location |
-srcstorepass |
string | No | Source keystore password |
-deststorepass |
string | No | Destination keystore password |
Command Info
Category:
Keystore Management
Type:
Java-Keytool
Views:
12
Status:
Active
Tags
import
keystore
migration