How To Install dehydrated on Fedora 36

In this tutorial we learn how to install dehydrated in Fedora 36. dehydrated is A client for signing certificates with an ACME server

Introduction

In this tutorial we learn how to install dehydrated on Fedora 36.

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 (including wildcard domains!) - Signing of a custom CSR (either standalone or completely automated using hooks!) - Renewal if a certificate is about to expire or defined set of domains changed - Certificate revocation

We can use yum or dnf to install dehydrated on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dehydrated.

Install dehydrated on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the dehydrated package we can use the following command:

sudo dnf remove dehydrated

dehydrated Package Contents on Fedora 36

/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.d
/etc/dehydrated/hook.sh
/run/dehydrated
/usr/bin/dehydrated
/usr/lib/systemd/system-preset/50-dehydrated.preset
/usr/lib/systemd/system/dehydrated.service
/usr/lib/systemd/system/dehydrated.timer
/usr/lib/tmpfiles.d/dehydrated.conf
/usr/libexec/dehydrated-cron
/usr/share/doc/dehydrated
/usr/share/doc/dehydrated/CHANGELOG
/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/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).