All Products
Search
Document Center

Key Management Service:storeCert

Last Updated:Nov 12, 2024

This topic explains the use of the storeCert command for importing HSM command certificates.

Feature description

The storeCert command allows for the importation of issuer certificates and issuer cluster certificates into HSM, facilitating the initialization process. For information on generating certificates and importing them through the console, see Import Cluster Certificates.

Important

Ensure you have started the hsm_mgmt_tool and logged on to HSM before executing this command. The user must have the appropriate permissions as defined for the command's scope.

User type

The command is executable by the following user types. For descriptions of user types, refer to HSM User Permissions Table.

  • Temporary Administrator (PRECO)

Syntax

Enter parameters as per the following syntax. For additional details, see Parameters.

storeCert <file-name> <Owner>
Important

storeCert must be executed in server mode. For instructions on entering server mode, see Server.

Example

  • Store issuer certificate

    server0>storeCert customerCA.crt 4
    storeCert success
  • Store issuer cluster certificate

    server0>storeCert hsm.crt 8
    storeCert success
    logging out
    E2E enabled on server 0(172.16.0.2)

Parameters

Parameter Name

Description

Required

Valid Values

<file-name>

Specifies the file path where the certificate is stored.

Yes

No special requirements

<Owner>

Defines the type of certificate being imported.

Yes

  • 4: Issuer Certificate (CA)

  • 8: Issuer Cluster Certificate