Importing and exporting keys

This article describes how to import and export your key into another database or to a PKCS12 file. PKCS12 is a standard for securely storing private keys and certificates.


About this task

To import and export keys from another database, complete the following steps:


Procedure

  • Import keys from another database by completing the following steps:

    1. Start the IKEYMAN user interface. Refer to Start the Key Management utility for platform-specific instructions.

    2. Click Key Database File from the main UI, then click Open.

    3. Enter your key database name in the Password prompt dialog box, or click key.kdb if you are using the default.

    4. Enter your correct password in the Password prompt dialog box, and click OK.

    5. Click Personal Certificates in the Key Database content frame, then click Export/Import on the label.

    6. In the Export/Import Key window:

      1. Click Import Key.

      2. Click the target database type.

      3. Enter the file name, or use the Browse option.

      4. Enter the current location.

    7. Click OK.

    8. Click OK in the Password prompt dialog box, to import the selected key to another key database.

  • Import keys to a PKCS12 file by completing the following steps:

    1. Enter ikeyman on a command line on the Linux® or UNIX platforms, or start the Key Management utility in the IBM HTTP Server folder on the Windows operating system.

    2. Click Key Database File from the main UI, then click Open.

    3. Enter your key database name in the Open dialog box, or click key.kdb, if you use the default. Click OK.

    4. Enter your password in the Password prompt dialog box, and click OK.

    5. Click Personal Certificates in the Key Database content frame, then click Export/Import on the label.

    6. In the Export/Import Key window:

      1. Click Import Key.

      2. Click the PKCS12 database file type.

      3. Enter the file name, or use the Browse option.

      4. Enter the correct location.

    7. Click OK.

    8. Enter the correct password in the Password prompt dialog box, then click OK.

  • Export keys from another database by completing the following steps:

    1. Start the IKEYMAN user interface. Refer to Start the Key Management utility for platform-specific instructions.

    2. Click key database file from the main user interface, then click Open.

    3. Enter your key database name in the Password Prompt dialog box, or click key.kdb if you are using the default.

    4. Enter your correct password in the Password Prompt dialog box, and click OK.

    5. Click Personal Certificates in the Key database content frame, then click Export/Import on the label.

    6. In the Export/Import Key window:

      1. Click Export Key.

      2. Click the target database type.

      3. Enter the file name, or use the Browse option.

      4. Enter the current location.

  • Export keys to a PKCS12 file by completing the following steps:

    1. Enter ikeyman on a command line on the Linux or UNIX platforms, or start the Key Management utility in the IBM HTTP Server folder on the Windows operating system.

    2. Click Key Database File from the main UI, then click Open.

    3. Enter your key database name in the Open dialog box, or click key.kdb if you use the default. Click OK.

    4. Enter your password in the Password Prompt dialog box, and click OK.

    5. Click Personal Certificates in the Key Database content frame, then click Export/Import on the label.

    6. In the Export/Import Key window:

      1. Click ExportKeyM.

      2. Click the PKCS12 database file type.

      3. Enter the file name, or use the Browse option.

      4. Enter the correct location.

    7. Click OK.

    8. Enter the correct password in the Password prompt dialog box, and enter the password again to confirm. Click OK to export the selected key to a PKCS12 file.


Related