How To Install mod_nss on Fedora 34
Introduction
In this tutorial we learn how to install mod_nss
on Fedora 34.
What is mod_nss
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
or dnf
to install mod_nss
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mod_nss.
Install mod_nss on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install mod_nss
using dnf
by running the following command:
sudo dnf -y install mod_nss
Install mod_nss on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install mod_nss
using yum
by running the following command:
sudo yum -y install mod_nss
How To Uninstall mod_nss on Fedora 34
To uninstall only the mod_nss
package we can use the following command:
sudo dnf remove mod_nss
mod_nss Package Contents on Fedora 34
/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/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/847168943bcfece69ef612c676635dcf0c4a62
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/da13c08fb65ad6874724daeed1ed03e097714a
/usr/lib64/httpd/modules/libmodnss.so
/usr/libexec/nss_pcache
/usr/sbin/gencert
/usr/sbin/nss_pcache
/usr/share/doc/mod_nss
/usr/share/doc/mod_nss/LICENSE
/usr/share/doc/mod_nss/README
/usr/share/doc/mod_nss/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
on Fedora 34 using yum and dnf.