This section covers installing and configuring the following components of the OpenSSL library:Documentation Index
Fetch the complete documentation index at: https://docs.futurex.com/llms.txt
Use this file to discover all available pages before exploring further.
| Library | Description |
|---|---|
| libp11 | Provides a higher-level interface (compared to the PKCS #11 library) for accessing PKCS #11 objects. It integrates with applications that use OpenSSL. |
| OpenSC | Provides a set of libraries and utilities to work with smart cards. It focuses on cards that support cryptographic operations and facilitates their use in security applications such as authentication, mail encryption, and digital signatures. |
| PKCS11 engine plugin | Engine plugin for the OpenSSL library that allows accessing PKCS #11 modules in a semi-transparent way. |
- Install libp11 and OpenSC.
- Edit the OpenSSL configuration file.
Install libp11 and OpenSC
Select your operating system and perform the installation steps:Ubuntu/Debian
Perform the following steps to install libp11 and OpenSC on Ubuntu or Debian:Red Hat/CentOS
Perform the following steps to install libp11 and OpenSC on Red Hat or CentOS:Edit the configuration file
The following instructions are the same for Ubuntu/Debian-based Linux distributions and Red Hat/CentOS-based distributions, except for the
dynamicpath define in the openssl.cnf file:- On Ubuntu 18, the location of the
pkcs11.sofile specified in thedynamicpathdefine is shown in the following procedure. - On CentOS 8, the location of the
pkcs11.sofile is/usr/lib64/engines-1.1/pkcs11.so.
To confirm the location of the After you confirm the location, proceed with the following instructions to edit the OpenSSL configuration file.
pkcs11.so file on your system, run the following command in a terminal as root:Shell
Run the following command to determine the location of the OpenSSL configuration file for the logged-in user:
Shell
If you prefer to edit your global OpenSSL configuration file, its location is usually in
/etc/ssl/openssl.cnf.Open in a text editor the
openssl.cnf file inside the OpenSSL directory that you identified in the preceding command.
