How To Install opencryptoki.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install opencryptoki.x86_64 on Amazon Linux 2.
What is opencryptoki.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 contains the Slot Daemon (pkcsslotd) and general utilities.
We can use yum to install opencryptoki.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.x86_64.
Install opencryptoki.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.x86_64 using yum by running the following command:
sudo yum -y install opencryptoki.x86_64
How To Uninstall opencryptoki.x86_64 on Amazon Linux 2
To uninstall only the opencryptoki.x86_64 package we can use the following command:
sudo yum remove opencryptoki.x86_64
opencryptoki.x86_64 Package Contents on Amazon Linux 2
/etc/opencryptoki
/etc/opencryptoki/opencryptoki.conf
/usr/lib/systemd/system/pkcsslotd.service
/usr/lib/tmpfiles.d/opencryptoki.conf
/usr/lib64/opencryptoki/methods
/usr/lib64/pkcs11/methods
/usr/sbin/pkcsconf
/usr/sbin/pkcsslotd
/usr/share/doc/opencryptoki-3.7.0
/usr/share/doc/opencryptoki-3.7.0/ChangeLog
/usr/share/doc/opencryptoki-3.7.0/FAQ
/usr/share/doc/opencryptoki-3.7.0/README
/usr/share/doc/opencryptoki-3.7.0/README.token_data
/usr/share/doc/opencryptoki-3.7.0/openCryptoki-HOWTO.pdf
/usr/share/man/man1/pkcsconf.1.gz
/usr/share/man/man5/opencryptoki.conf.5.gz
/usr/share/man/man7/opencryptoki.7.gz
/usr/share/man/man8/pkcsslotd.8.gz
/var/lib/opencryptoki
/var/lock/opencryptoki
/var/lock/opencryptoki/icsf
/var/lock/opencryptoki/swtok
/var/lock/opencryptoki/tpm
/var/log/opencryptoki
References
Summary
In this tutorial we learn how to install opencryptoki.x86_64 on Amazon Linux 2 using yum.