How To Install nss-tools on Rocky Linux 8

In this tutorial we learn how to install nss-tools on Rocky Linux 8. nss-tools is Tools for the Network Security Services

Introduction

In this tutorial we learn how to install nss-tools on Rocky Linux 8.

What is nss-tools

Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. Install the nss-tools package if you need command-line tools to manipulate the NSS certificate and key database.

We can use yum or dnf to install nss-tools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nss-tools.

Install nss-tools 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 nss-tools using dnf by running the following command:

sudo dnf -y install nss-tools

Install nss-tools 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 nss-tools using yum by running the following command:

sudo yum -y install nss-tools

How To Uninstall nss-tools on Rocky Linux 8

To uninstall only the nss-tools package we can use the following command:

sudo dnf remove nss-tools

nss-tools Package Contents on Rocky Linux 8

/usr/bin/certutil
/usr/bin/cmsutil
/usr/bin/crlutil
/usr/bin/modutil
/usr/bin/nss-policy-check
/usr/bin/pk12util
/usr/bin/signver
/usr/bin/ssltap
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/03646e29e17ef69f0e595d4660658a216414a6
/usr/lib/.build-id/12
/usr/lib/.build-id/12/2fff36002d008c88c602bb6c03236a73e1b7d5
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/f55de48b3ba4778a0f2d3140e075b1f61240d1
/usr/lib/.build-id/35
/usr/lib/.build-id/35/aeed67b8b7e72bcb3a387e6ef4567f5c30cc20
/usr/lib/.build-id/37
/usr/lib/.build-id/37/dc51468dc5db96d0a16a58b723b5d04c355b5c
/usr/lib/.build-id/46
/usr/lib/.build-id/46/30d9cdccd3836a26332834a04c98cc0abae9e4
/usr/lib/.build-id/57
/usr/lib/.build-id/57/7e939cb0281379ca36741bb1cf20d37609159c
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/52eb4e00ec07b1be2e73fd83329da5ee10bb5b
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/a5bdd0cf62d505f465ef5a38925f6347d6861f
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/87923e1fba60ce0486d0ab825885eb6e5ea1d9
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/bd0dc07c622c8cdc600ba7f925009f462289cd
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/ac118a9f0bd406c70db100157d053beec57627
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/04c9f1a908b7308c22bcc9124aed3519eb164a
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/0d6fcfc21ee1667db19947d85bf95280c089fb
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/6d619ec6edfe85c778187ea651f97c00b60069
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/0a919eaaaae1f3c3c733e5209d91e1e9150af3
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/63da7ef8d41385e7b5b1a131b5b96ea3a09800
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/adfb441cd7f92c749c63f7568d9f9599a8d27b
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/2f15f39cb7ff1e518485682f853fd6144c839e
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/060238045884adc783a76ca371957bb994cf5b
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/78c999b71979d0e9f20da80188978a5be2a601
/usr/lib64/nss/unsupported-tools/atob
/usr/lib64/nss/unsupported-tools/btoa
/usr/lib64/nss/unsupported-tools/derdump
/usr/lib64/nss/unsupported-tools/listsuites
/usr/lib64/nss/unsupported-tools/ocspclnt
/usr/lib64/nss/unsupported-tools/pp
/usr/lib64/nss/unsupported-tools/selfserv
/usr/lib64/nss/unsupported-tools/signtool
/usr/lib64/nss/unsupported-tools/strsclnt
/usr/lib64/nss/unsupported-tools/symkeyutil
/usr/lib64/nss/unsupported-tools/tstclnt
/usr/lib64/nss/unsupported-tools/vfychain
/usr/lib64/nss/unsupported-tools/vfyserv
/usr/share/man/man1/certutil.1.gz
/usr/share/man/man1/cmsutil.1.gz
/usr/share/man/man1/crlutil.1.gz
/usr/share/man/man1/derdump.1.gz
/usr/share/man/man1/modutil.1.gz
/usr/share/man/man1/nss-policy-check.1.gz
/usr/share/man/man1/pk12util.1.gz
/usr/share/man/man1/pp.1.gz
/usr/share/man/man1/signtool.1.gz
/usr/share/man/man1/signver.1.gz
/usr/share/man/man1/ssltap.1.gz
/usr/share/man/man1/vfychain.1.gz
/usr/share/man/man1/vfyserv.1.gz

References

Summary

In this tutorial we learn how to install nss-tools on Rocky Linux 8 using yum and dnf.