How To Install openssl11-pkcs11.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openssl11-pkcs11.x86_64 in Amazon Linux 2. openssl11-pkcs11.x86_64 is A PKCS#11 engine for use with OpenSSL

Introduction

In this tutorial we learn how to install openssl11-pkcs11.x86_64 on Amazon Linux 2.

What is openssl11-pkcs11.x86_64

openssl11-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 openssl11-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 openssl11-pkcs11.x86_64.

Install openssl11-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 openssl11-pkcs11.x86_64 using yum by running the following command:

sudo yum -y install openssl11-pkcs11.x86_64

How To Uninstall openssl11-pkcs11.x86_64 on Amazon Linux 2

To uninstall only the openssl11-pkcs11.x86_64 package we can use the following command:

sudo yum remove openssl11-pkcs11.x86_64

openssl11-pkcs11.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/engines-1.1/libpkcs11.so
/usr/lib64/engines-1.1/pkcs11.so
/usr/lib64/libp11.so.3
/usr/lib64/libp11.so.3.4.2
/usr/share/doc/openssl11-pkcs11-0.4.10
/usr/share/doc/openssl11-pkcs11-0.4.10/NEWS
/usr/share/licenses/openssl11-pkcs11-0.4.10
/usr/share/licenses/openssl11-pkcs11-0.4.10/COPYING

References

Summary

In this tutorial we learn how to install openssl11-pkcs11.x86_64 on Amazon Linux 2 using yum.