You can use the PKCS #11 library to build PKCS #11-compatible applications and use the hardware security module (HSM) client to perform cryptographic operations. The PKCS #11 library is supported only on Linux operating systems.
Prerequisites
Your hardware security module (HSM) is in the Initializing state, and a crypto user (CU) is created. For more information, see Getting started with Cloud Hardware Security Module.
An HSM client (hsm_proxy) is started. For more information, see Getting started with Cloud Hardware Security Module.
Install the PKCS #11 library
Run the following command to download and install the PKCS #11 library.
Operating system | Command |
CentOS 8 | hsm-client-pkcs-v2.03.15.10-1.x86_64.rpm
|
The PKCS #11 library is stored in the /opt/hsm/lib
directory. If you use a different operating system, submit a ticket or join the DingTalk group 31567543.