使用 AWS CloudHSM KMU 导出公有密钥
使用 AWS CloudHSM key_mgmt_util(KMU)中的 exportPubKey 命令导出公有密钥。要查看所有可用的选项,请使用 exportPubKey -h 命令。
以下示例将 RSA 公有密钥导出到名为 rsa2048.pub.exp 的文件。
Command:exportPubKey -k 524294 -out rsa2048.pub.expPEM formatted public key is written to rsa2048.pub.key Cfm3ExportPubKey returned: 0x00 : HSM Return: SUCCESS