How To Install openssl-pkcs11.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install openssl-pkcs11.x86_64 on Amazon Linux 2.
What is openssl-pkcs11.x86_64
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 to install openssl-pkcs11.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install openssl-pkcs11.x86_64.
Install openssl-pkcs11.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install openssl-pkcs11.x86_64 using yum by running the following command:
sudo yum -y install openssl-pkcs11.x86_64
How To Uninstall openssl-pkcs11.x86_64 on Amazon Linux 2
To uninstall only the openssl-pkcs11.x86_64 package we can use the following command:
sudo yum remove openssl-pkcs11.x86_64
openssl-pkcs11.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libp11.so.2
/usr/lib64/libp11.so.2.5.2
/usr/lib64/openssl/engines/libpkcs11.so
/usr/lib64/openssl/engines/pkcs11.so
/usr/share/doc/openssl-pkcs11-0.4.10
/usr/share/doc/openssl-pkcs11-0.4.10/NEWS
/usr/share/licenses/openssl-pkcs11-0.4.10
/usr/share/licenses/openssl-pkcs11-0.4.10/COPYING
References
Summary
In this tutorial we learn how to install openssl-pkcs11.x86_64 on Amazon Linux 2 using yum.