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

In this tutorial we learn how to install bind-pkcs11.x86_64 in Amazon Linux 2. bind-pkcs11.x86_64 is Bind with native PKCS#11 functionality for crypto

Introduction

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

What is bind-pkcs11.x86_64

This is a version of BIND server built with native PKCS#11 functionality. It is important to have SoftHSM v2+ installed and some token initialized. For other supported HSM modules please check the BIND documentation. This version of BIND binary is supported only in setup with the IPA server.

We can use yum to install bind-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 bind-pkcs11.x86_64.

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

sudo yum -y install bind-pkcs11.x86_64

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

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

sudo yum remove bind-pkcs11.x86_64

bind-pkcs11.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/system/named-pkcs11.service
/usr/libexec/setup-named-softhsm.sh
/usr/sbin/named-pkcs11
/usr/share/man/man8/named-pkcs11.8.gz

References

Summary

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