安装适用于 AWS CloudHSM Client SDK 3 的 PKCS #11 库 - AWS CloudHSM

安装适用于 AWS CloudHSM Client SDK 3 的 PKCS #11 库

本主题介绍了安装适用于 AWS CloudHSM Client SDK 3 版本系列的 PKCS #11 库的说明。有关客户端软件开发工具包 或 PKCS #11 库的更多信息,请参阅使用客户端软件开发工具包PKCS #11 库

客户端软件开发工具包 3 的先决条件

PKCS #11 库需要 AWS CloudHSM 客户端。

如果您尚未安装和配置 AWS CloudHSM 客户端,请立即执行安装客户端 (Linux) 中的步骤。在您安装和配置客户端之后,可以使用以下命令来启动客户端。

Amazon Linux
$ sudo start cloudhsm-client
Amazon Linux 2
$ sudo systemctl cloudhsm-client start
CentOS 7
$ sudo systemctl cloudhsm-client start
CentOS 8
$ sudo systemctl cloudhsm-client start
RHEL 7
$ sudo systemctl cloudhsm-client start
RHEL 8
$ sudo systemctl cloudhsm-client start
Ubuntu 16.04 LTS
$ sudo systemctl cloudhsm-client start
Ubuntu 18.04 LTS
$ sudo systemctl cloudhsm-client start
Ubuntu 20.04 LTS
$ sudo systemctl cloudhsm-client start

安装适用于客户端软件开发工具包 3 的 PKCS #11 库

以下命令将下载并安装 PKCS #11 库。

Amazon Linux
$ wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/cloudhsm-client-pkcs11-latest.el6.x86_64.rpm
$ sudo yum install ./cloudhsm-client-pkcs11-latest.el6.x86_64.rpm
Amazon Linux 2
$ wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-pkcs11-latest.el7.x86_64.rpm
$ sudo yum install ./cloudhsm-client-pkcs11-latest.el7.x86_64.rpm
CentOS 7
$ wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-pkcs11-latest.el7.x86_64.rpm
$ sudo yum install ./cloudhsm-client-pkcs11-latest.el7.x86_64.rpm
CentOS 8
$ wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL8/cloudhsm-client-pkcs11-latest.el8.x86_64.rpm
$ sudo yum install ./cloudhsm-client-pkcs11-latest.el8.x86_64.rpm
RHEL 7
$ wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-pkcs11-latest.el7.x86_64.rpm
$ sudo yum install ./cloudhsm-client-pkcs11-latest.el7.x86_64.rpm
RHEL 8
$ wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL8/cloudhsm-client-pkcs11-latest.el8.x86_64.rpm
$ sudo yum install ./cloudhsm-client-pkcs11-latest.el8.x86_64.rpm
Ubuntu 16.04 LTS
$ wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Xenial/cloudhsm-client-pkcs11_latest_amd64.deb
$ sudo apt install ./cloudhsm-client-pkcs11_latest_amd64.deb
Ubuntu 18.04 LTS
$ wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Bionic/cloudhsm-client-pkcs11_latest_u18.04_amd64.deb
$ sudo apt install ./cloudhsm-client-pkcs11_latest_u18.04_amd64.deb
  • 如果您所安装的 PKCS #11 库的 EC2 实例未安装客户端软件开发工具包 3 中的其他组件,则必须引导客户端软件开发工具包 3。您只需使用客户端软件开发工具包 3 中的组件在每个实例上执行一次此操作。

  • 您可在以下位置找到 PKCS #11 库的文件:

    Linux 二进制文件、配置脚本、证书和日志文件:

    /opt/cloudhsm/lib