How To Install openssl-pkcs11 on Fedora 36
Introduction
In this tutorial we learn how to install openssl-pkcs11
on Fedora 36.
What is openssl-pkcs11
openssl-pkcs11 enables hardware security module (HSM), and smart card support in OpenSSL applications. More precisely, it is an OpenSSL engine which makes registered PKCS#11 modules available for OpenSSL applications. The engine is optional and can be loaded by configuration file, command line or through the OpenSSL ENGINE API.
We can use yum
or dnf
to install openssl-pkcs11
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install openssl-pkcs11.
Install openssl-pkcs11 on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install openssl-pkcs11
using dnf
by running the following command:
sudo dnf -y install openssl-pkcs11
Install openssl-pkcs11 on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install openssl-pkcs11
using yum
by running the following command:
sudo yum -y install openssl-pkcs11
How To Uninstall openssl-pkcs11 on Fedora 36
To uninstall only the openssl-pkcs11
package we can use the following command:
sudo dnf remove openssl-pkcs11
openssl-pkcs11 Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/ae934b785975759ac03cece090c86325b26026
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/e44ee346d1cbeabe4c24f0274b852ab976cc35
/usr/lib64/engines-3/libpkcs11.so
/usr/lib64/engines-3/pkcs11.so
/usr/lib64/libp11.so.3
/usr/lib64/libp11.so.3.4.3
/usr/share/doc/openssl-pkcs11
/usr/share/doc/openssl-pkcs11/NEWS
/usr/share/licenses/openssl-pkcs11
/usr/share/licenses/openssl-pkcs11/COPYING
References
Summary
In this tutorial we learn how to install openssl-pkcs11
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).