How To Install dehydrated on Rocky Linux 8
Introduction
In this tutorial we learn how to install dehydrated
on Rocky Linux 8.
What is dehydrated
This is a client for signing certificates with an ACME-server (currently only provided by Let’s Encrypt) implemented as a relatively simple bash- script. Dehydrated supports both ACME v1 and the new ACME v2 including support for wildcard certificates! Current features * Signing of a list of domains * Signing of a CSR * Renewal if a certificate is about to expire or SAN (subdomains) changed * Certificate revocation
We can use yum
or dnf
to install dehydrated
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dehydrated.
Install dehydrated 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 dehydrated
using dnf
by running the following command:
sudo dnf -y install dehydrated
Install dehydrated 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 dehydrated
using yum
by running the following command:
sudo yum -y install dehydrated
How To Uninstall dehydrated on Rocky Linux 8
To uninstall only the dehydrated
package we can use the following command:
sudo dnf remove dehydrated
dehydrated Package Contents on Rocky Linux 8
/etc/cron.d/dehydrated
/etc/dehydrated
/etc/dehydrated/accounts
/etc/dehydrated/archive
/etc/dehydrated/certs
/etc/dehydrated/conf.d
/etc/dehydrated/conf.d/local.sh
/etc/dehydrated/config
/etc/dehydrated/domains.txt
/etc/dehydrated/hook.sh
/run/dehydrated
/usr/bin/dehydrated
/usr/lib/tmpfiles.d/dehydrated.conf
/usr/share/doc/dehydrated
/usr/share/doc/dehydrated/README.md
/usr/share/doc/dehydrated/acme-v1.md
/usr/share/doc/dehydrated/dns-verification.md
/usr/share/doc/dehydrated/domains_txt.md
/usr/share/doc/dehydrated/ecc.md
/usr/share/doc/dehydrated/examples
/usr/share/doc/dehydrated/examples/config
/usr/share/doc/dehydrated/examples/domains.txt
/usr/share/doc/dehydrated/examples/hook.sh
/usr/share/doc/dehydrated/hook_chain.md
/usr/share/doc/dehydrated/import-from-official-client.md
/usr/share/doc/dehydrated/logo.jpg
/usr/share/doc/dehydrated/per-certificate-config.md
/usr/share/doc/dehydrated/staging.md
/usr/share/doc/dehydrated/tls-alpn.md
/usr/share/doc/dehydrated/troubleshooting.md
/usr/share/doc/dehydrated/wellknown.md
/usr/share/licenses/dehydrated
/usr/share/licenses/dehydrated/LICENSE
/usr/share/man/man1/dehydrated.1.gz
References
Summary
In this tutorial we learn how to install dehydrated
on Rocky Linux 8 using yum and dnf.