本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
使用 AWS CloudHSM KMU 导出公钥
使用 AWS CloudHSM key_mgmt_util (KMU) 中的exportPubKey命令导出公钥。要查看所有可用的选项,请使用 exportPubKey -h 命令。
以下示例将 RSA 公有密钥导出到名为 rsa2048.pub.exp
的文件。
Command:
exportPubKey -k 524294 -out rsa2048.pub.exp
PEM formatted public key is written to rsa2048.pub.key Cfm3ExportPubKey returned: 0x00 : HSM Return: SUCCESS