How To Install opencryptoki on Rocky Linux 8
Introduction
In this tutorial we learn how to install opencryptoki
on Rocky Linux 8.
What is opencryptoki
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
or dnf
to install opencryptoki
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install opencryptoki.
Install opencryptoki on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install opencryptoki
using dnf
by running the following command:
sudo dnf -y install opencryptoki
Install opencryptoki on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install opencryptoki
using yum
by running the following command:
sudo yum -y install opencryptoki
How To Uninstall opencryptoki on Rocky Linux 8
To uninstall only the opencryptoki
package we can use the following command:
sudo dnf remove opencryptoki
opencryptoki Package Contents on Rocky Linux 8
/etc/opencryptoki
/etc/opencryptoki/opencryptoki.conf
/run/lock/opencryptoki
/run/lock/opencryptoki/icsf
/run/lock/opencryptoki/swtok
/run/lock/opencryptoki/tpm
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/36bbc8ac33f787365ca76e004d2dd0b86e8d70
/usr/lib/.build-id/32
/usr/lib/.build-id/32/9dc102a77c8bb8e62a27d9f04426b181988b5a
/usr/lib/.build-id/37
/usr/lib/.build-id/37/524789872688330eaa4613248da6ad95f1b26e
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/33bfd7a526a0a903c81843858ae5d9eb9bc8ed
/usr/lib/systemd/system/pkcsslotd.service
/usr/lib/tmpfiles.d/opencryptoki.conf
/usr/lib64/opencryptoki/methods
/usr/lib64/pkcs11/methods
/usr/sbin/p11sak
/usr/sbin/pkcsconf
/usr/sbin/pkcsslotd
/usr/sbin/pkcstok_migrate
/usr/share/doc/opencryptoki
/usr/share/doc/opencryptoki/ChangeLog
/usr/share/doc/opencryptoki/FAQ
/usr/share/doc/opencryptoki/README.md
/usr/share/doc/opencryptoki/README.token_data
/usr/share/doc/opencryptoki/opencryptoki-howto.md
/usr/share/man/man1/p11sak.1.gz
/usr/share/man/man1/pkcsconf.1.gz
/usr/share/man/man1/pkcstok_migrate.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/log/opencryptoki
References
Summary
In this tutorial we learn how to install opencryptoki
on Rocky Linux 8 using yum and dnf.