How To Install opencryptoki-icsftok.x86_64 on Amazon Linux 2

In this tutorial we learn how to install opencryptoki-icsftok.x86_64 in Amazon Linux 2. opencryptoki-icsftok.x86_64 is ICSF token support for opencryptoki

Introduction

In this tutorial we learn how to install opencryptoki-icsftok.x86_64 on Amazon Linux 2.

What is opencryptoki-icsftok.x86_64

Opencryptoki implements the PKCS#11 specification v2.11 for a set of cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the Trusted Platform Module (TPM) chip. Opencryptoki also brings a software token implementation that can be used without any cryptographic hardware. This package brings the necessary libraries and files to support ICSF token in the opencryptoki stack.

We can use yum to install opencryptoki-icsftok.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install opencryptoki-icsftok.x86_64.

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

sudo yum -y install opencryptoki-icsftok.x86_64

How To Uninstall opencryptoki-icsftok.x86_64 on Amazon Linux 2

To uninstall only the opencryptoki-icsftok.x86_64 package we can use the following command:

sudo yum remove opencryptoki-icsftok.x86_64

opencryptoki-icsftok.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/opencryptoki/stdll/PKCS11_ICSF.so
/usr/lib64/opencryptoki/stdll/libpkcs11_icsf.so
/usr/lib64/opencryptoki/stdll/libpkcs11_icsf.so.0
/usr/lib64/opencryptoki/stdll/libpkcs11_icsf.so.0.0.0
/usr/sbin/pkcsicsf
/usr/share/doc/opencryptoki-icsftok-3.7.0
/usr/share/doc/opencryptoki-icsftok-3.7.0/README.icsf_stdll
/usr/share/man/man1/pkcsicsf.1.gz
/var/lib/opencryptoki/icsf

References

Summary

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