本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
使用 AWS CloudHSM key_mgmt_util(KMU)中的 importPubKey 命令导入公有密钥。要查看所有可用的选项,请使用 importPubKey -h 命令。
以下示例从名为 rsa2048.pub
的文件中导入 RSA 公有密钥。
Command:
importPubKey -f rsa2048.pub -l rsa2048-public-imported
Cfm3CreatePublicKey returned: 0x00 : HSM Return: SUCCESS Public Key Handle: 524302 Cluster Error Status Node id 0 and err state 0x00000000 : HSM Return: SUCCESS Node id 1 and err state 0x00000000 : HSM Return: SUCCESS Node id 2 and err state 0x00000000 : HSM Return: SUCCESS