SDK versions 5.8.0 and earlier have reached their end of support. After March 31, 2025 documentation for SDK versions 3.4.4 and earlier will no longer be available.
With AWS CloudHSM Client SDK 3.1 and higher, the version of the client daemon and any components you install must match to upgrade. For all Linux-based systems, you must use a single command to batch upgrade the client daemon with the same version of the PKCS #11 library, the Java Cryptographic Extension (JCE) provider, or the OpenSSL Dynamic Engine. This requirement does not apply to Windows-based systems because the binaries for the CNG and KSP providers are already included in the client daemon package.
-
On a Red Hat-based Linux system (including Amazon Linux and CentOS), use the following command:
rpm -qa | grep ^cloudhsm
-
On an Debian-based Linux system, use the following command:
apt list --installed | grep ^cloudhsm
-
On a Windows system, use the following command:
wmic product get name,version
Prerequisites
Download the latest version of AWS CloudHSM client daemon and choose your components.
Note
You do not have to install all the components. For every component you have installed, you must upgrade that component to match the version of the client daemon.
Latest Linux client daemon
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/cloudhsm-client-latest.el6.x86_64.rpm
Latest PKCS #11 library
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/cloudhsm-client-pkcs11-latest.el6.x86_64.rpm
Latest OpenSSL Dynamic Engine
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/cloudhsm-client-dyn-latest.el6.x86_64.rpm
Latest JCE provider
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL6/cloudhsm-client-jce-latest.el6.x86_64.rpm
Step 1: Stop the client daemon
Use the following command to stop the client daemon.
$
sudo stop cloudhsm-client
Step 2: Upgrade the client SDK
The following command shows the syntax required to upgrade the client daemon and components. Before you run the command, remove any components you don't intend to upgrade.
$
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>
Step 3: Start the client daemon
Use the following command to start the client daemon.
$
sudo start cloudhsm-client