Install the PKCS #11 library
The PKCS #11 library lets you build PKCS #11-compatible applications that use a hardware security module (HSM) for cryptographic operations. The library runs on Linux only.
Prerequisites
Before you begin, ensure that you have:
An HSM in the Initializing state with a crypto user (CU) created. For setup instructions, see Getting started with Cloud Hardware Security Module.
An HSM client (
hsm_proxy) running. For startup instructions, see Getting started with Cloud Hardware Security Module.
Install the PKCS #11 library
Installation packages vary by HSM region. Select the section that matches your region and operating system.
Indonesia (Jakarta)
CentOS 8
Download the installation package: hsm-client-pkcs11-v2.09.07.02-1.202411041707.x86_64.rpm
Install the package:
sudo rpm -ivh hsm-client-pkcs11-v2.09.07.02-1.202411041707.x86_64.rpm
Debian
Download the installation package: hsm-client-pkcs11-v2.09.07.02-1.202411041707.x86_64.deb
Install the package:
sudo dpkg -i hsm-client-pkcs11-v2.09.07.02-1.202411041707.x86_64.deb
Other regions
CentOS 8
Download the installation package: hsm-client-pkcs-v2.03.15.10-1.x86_64.rpm
Install the package:
sudo rpm -ivh hsm-client-pkcs-v2.03.15.10-1.x86_64.rpm
Debian
Download the installation package: hsm-client-pkcs11-2.03.15.10-20240710_1.x86_64
Install the package:
sudo dpkg -i hsm-client-pkcs11-2.03.15.10-20240710_1.x86_64.deb
After you install the library, the PKCS #11 library is stored in /opt/hsm/lib.