Actualización de Client SDK 3 de AWS CloudHSM en Linux
En SDK 3.1 de cliente de AWS CloudHSM y versiones posteriores, la versión del daemon del cliente y cualquier componente que se instale deben coincidir para poder llevar a cabo la actualización. Para todos los sistemas basados en Linux, debe usar un comando único para actualizar por lotes el daemon del cliente con la misma versión de la biblioteca PKCS #11, el proveedor de extensión criptográfica de Java (JCE) o el motor dinámico de OpenSSL. Este requisito no es aplicable a los sistemas basados en Windows, ya que los binarios de los proveedores CNG y KSP ya están incluidos en el paquete daemon del cliente.
-
En sistemas Linux basados en Red Hat (incluidos Amazon Linux y CentOS), use el siguiente comando:
rpm -qa | grep ^cloudhsm
-
En un sistema Linux basado en Debian, utilice el siguiente comando:
apt list --installed | grep ^cloudhsm
-
En un sistema Windows, utilice el siguiente comando:
wmic product get name,version
Requisitos previos
Descargue la última versión de AWS CloudHSM del daemon de cliente y elija sus componentes.
No es necesario instalar todos los componentes. Deberá actualizar cada uno de las componentes que tenga instalados para que coincida con la versión del daemon de cliente.
Daemon de cliente Linux más reciente
- Amazon Linux
-
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/cloudhsm-client-latest.el6.x86_64.rpm
- Amazon Linux 2
-
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-latest.el7.x86_64.rpm
- CentOS 7
-
sudo yum install wget
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-latest.el7.x86_64.rpm
- CentOS 8
-
sudo yum install wget
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL8/cloudhsm-client-latest.el8.x86_64.rpm
- RHEL 7
-
sudo yum install wget
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-latest.el7.x86_64.rpm
- RHEL 8
-
sudo yum install wget
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL8/cloudhsm-client-latest.el8.x86_64.rpm
- Ubuntu 16.04 LTS
-
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Xenial/cloudhsm-client_latest_amd64.deb
- Ubuntu 18.04 LTS
-
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Bionic/cloudhsm-client_latest_u18.04_amd64.deb
Biblioteca PKCS #11 más reciente
- Amazon Linux
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/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
- CentOS 7
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/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
- RHEL 7
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/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
- Ubuntu 16.04 LTS
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Xenial/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
Motor dinámico de OpenSSL más reciente
- Amazon Linux
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/cloudhsm-client-dyn-latest.el6.x86_64.rpm
- Amazon Linux 2
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-dyn-latest.el7.x86_64.rpm
- CentOS 7
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-dyn-latest.el7.x86_64.rpm
- RHEL 7
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-dyn-latest.el7.x86_64.rpm
- Ubuntu 16.04 LTS
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Xenial/cloudhsm-client-dyn_latest_amd64.deb
Proveedor de JCE más reciente
- Amazon Linux
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/cloudhsm-client-jce-latest.el6.x86_64.rpm
- Amazon Linux 2
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-jce-latest.el7.x86_64.rpm
- CentOS 7
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-jce-latest.el7.x86_64.rpm
- CentOS 8
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL8/cloudhsm-client-jce-latest.el8.x86_64.rpm
- RHEL 7
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-client-jce-latest.el7.x86_64.rpm
- RHEL 8
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL8/cloudhsm-client-jce-latest.el8.x86_64.rpm
- Ubuntu 16.04 LTS
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Xenial/cloudhsm-client-jce_latest_amd64.deb
- Ubuntu 18.04 LTS
-
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Bionic/cloudhsm-client-jce_latest_u18.04_amd64.deb
Paso 1: detenga el daemon de cliente
Utilice el siguiente comando para detener el daemon de cliente.
- Amazon Linux
$
sudo stop cloudhsm-client
- Amazon Linux 2
$
sudo service cloudhsm-client stop
- CentOS 7
$
sudo service cloudhsm-client stop
- CentOS 8
$
sudo service cloudhsm-client stop
- RHEL 7
$
sudo service cloudhsm-client stop
- RHEL 8
$
sudo service cloudhsm-client stop
- Ubuntu 16.04 LTS
$
sudo service cloudhsm-client stop
- Ubuntu 18.04 LTS
$
sudo service cloudhsm-client stop
Paso 2: actualice el SDK de cliente.
El siguiente comando muestra la sintaxis necesaria para actualizar el daemon de cliente y los componentes. Antes de ejecutar el comando, quite los componentes que no quiera actualizar.
- Amazon Linux
-
$
sudo yum install ./cloudhsm-client-latest.el6.x86_64.rpm \
<./cloudhsm-client-pkcs11-latest.el6.x86_64.rpm>
\
<./cloudhsm-client-dyn-latest.el6.x86_64.rpm>
\
<./cloudhsm-client-jce-latest.el6.x86_64.rpm>
- Amazon Linux 2
-
$
sudo yum install ./cloudhsm-client-latest.el7.x86_64.rpm \
<./cloudhsm-client-pkcs11-latest.el7.x86_64.rpm>
\
<./cloudhsm-client-dyn-latest.el7.x86_64.rpm>
\
<./cloudhsm-client-jce-latest.el7.x86_64.rpm>
- CentOS 7
-
$
sudo yum install ./cloudhsm-client-latest.el7.x86_64.rpm \
<./cloudhsm-client-pkcs11-latest.el7.x86_64.rpm>
\
<./cloudhsm-client-dyn-latest.el7.x86_64.rpm>
\
<./cloudhsm-client-jce-latest.el7.x86_64.rpm>
- CentOS 8
-
$
sudo yum install ./cloudhsm-client-latest.el8.x86_64.rpm \
<./cloudhsm-client-pkcs11-latest.el8.x86_64.rpm>
\
<./cloudhsm-client-jce-latest.el8.x86_64.rpm>
- RHEL 7
-
$
sudo yum install ./cloudhsm-client-latest.el7.x86_64.rpm \
<./cloudhsm-client-pkcs11-latest.el7.x86_64.rpm>
\
<./cloudhsm-client-dyn-latest.el7.x86_64.rpm>
\
<./cloudhsm-client-jce-latest.el7.x86_64.rpm>
- RHEL 8
-
$
sudo yum install ./cloudhsm-client-latest.el8.x86_64.rpm \
<./cloudhsm-client-pkcs11-latest.el8.x86_64.rpm>
\
<./cloudhsm-client-jce-latest.el8.x86_64.rpm>
- Ubuntu 16.04 LTS
-
$
sudo apt install ./cloudhsm-client_latest_amd64.deb \
<cloudhsm-client-pkcs11_latest_amd64.deb>
\
<cloudhsm-client-dyn_latest_amd64.deb>
\
<cloudhsm-client-jce_latest_amd64.deb>
- Ubuntu 18.04 LTS
-
$
sudo apt install ./cloudhsm-client_latest_u18.04_amd64.deb \
<cloudhsm-client-pkcs11_latest_amd64.deb>
\
<cloudhsm-client-jce_latest_amd64.deb>
Paso 3: inicie el daemon de cliente
Utilice el siguiente comando para iniciar el daemon de cliente.
- Amazon Linux
$
sudo start cloudhsm-client
- Amazon Linux 2
$
sudo service cloudhsm-client start
- CentOS 7
$
sudo service cloudhsm-client start
- CentOS 8
$
sudo service cloudhsm-client start
- RHEL 7
$
sudo service cloudhsm-client start
- RHEL 8
$
sudo service cloudhsm-client start
- Ubuntu 16.04 LTS
$
sudo service cloudhsm-client start
- Ubuntu 18.04 LTS
$
sudo service cloudhsm-client start
- Ubuntu 20.04 LTS
$
sudo service cloudhsm-client start
- Ubuntu 22.04 LTS
La compatibilidad con el motor dinámico de OpenSSL aún no está disponible.