How To Install openssl-pkcs11.i686 on Amazon Linux 2

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

Introduction

In this tutorial we learn how to install openssl-pkcs11.i686 on Amazon Linux 2.

What is openssl-pkcs11.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install openssl-pkcs11.i686.

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

sudo yum -y install openssl-pkcs11.i686

How To Uninstall openssl-pkcs11.i686 on Amazon Linux 2

To uninstall only the openssl-pkcs11.i686 package we can use the following command:

sudo yum remove openssl-pkcs11.i686

openssl-pkcs11.i686 Package Contents on Amazon Linux 2

/usr/lib/libp11.so.2
/usr/lib/libp11.so.2.5.2
/usr/lib/openssl/engines/libpkcs11.so
/usr/lib/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.i686 on Amazon Linux 2 using yum.