How To Install dehydrated on CentOS 8
Introduction
In this tutorial we learn how to install dehydrated
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dehydrated.
Install dehydrated on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install dehydrated
using dnf
by running the following command:
sudo dnf -y install dehydrated
Install dehydrated on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the dehydrated
package we can use the following command:
sudo dnf remove dehydrated
dehydrated Package Contents on CentOS 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 CentOS 8 using yum and dnf.