How To Install mod_nss.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mod_nss.x86_64 in Amazon Linux 2. mod_nss.x86_64 is SSL/TLS module for the Apache HTTP server

Introduction

In this tutorial we learn how to install mod_nss.x86_64 on Amazon Linux 2.

What is mod_nss.x86_64

The mod_nss module provides strong cryptography for the Apache Web server via the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols using the Network Security Services (NSS) security library.

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

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

sudo yum -y install mod_nss.x86_64

How To Uninstall mod_nss.x86_64 on Amazon Linux 2

To uninstall only the mod_nss.x86_64 package we can use the following command:

sudo yum remove mod_nss.x86_64

mod_nss.x86_64 Package Contents on Amazon Linux 2

/etc/httpd/alias
/etc/httpd/alias/cert8.db
/etc/httpd/alias/install.log
/etc/httpd/alias/key3.db
/etc/httpd/alias/libnssckbi.so
/etc/httpd/alias/secmod.db
/etc/httpd/conf.d/nss.conf
/etc/httpd/conf.modules.d/10-nss.conf
/usr/lib64/httpd/modules/libmodnss.so
/usr/libexec/nss_pcache
/usr/sbin/gencert
/usr/sbin/nss_pcache
/usr/share/doc/mod_nss-1.0.14
/usr/share/doc/mod_nss-1.0.14/LICENSE
/usr/share/doc/mod_nss-1.0.14/README
/usr/share/doc/mod_nss-1.0.14/mod_nss.html
/usr/share/man/man8/gencert.8.gz
/usr/share/man/man8/nss_pcache.8.gz

References

Summary

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