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.
Choose the correct region before downloading. Installing the wrong regional package may prevent the library from working correctly with your HSM.
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.deb
Install the package:
sudo dpkg -i hsm-client-pkcs11-2.03.15.10-20240710_1.x86_64.deb
Verify the installation
Confirm the library files are in place:
ls /opt/hsm/libA successful installation lists the PKCS #11 library files under /opt/hsm/lib.