Exporting keys

To export keys to another key database or to export keys to a PKCS12 file, enter the following command:
java com.ibm.gsk.ikeyman.ikeycmd -cert -export -db <filename>
-pw <password> -label <label> -type <cms | jks | jceks | pks12>
-target <filename> -target_pw <password>
-target_type <cms | jks | jceks | pkcs12> -encryption <strong | weak>

Note the following descriptions:

  • -label : Label attached to the certificate.
  • -target : Destination file or database.
  • -target_pw : Password for the target key database.
  • -target_type : Type of the database specified by -target operand
  • -encryption : Strength of encryption. Default is strong.