Environment: Centos 8, Certbot, Lets Encrypt
On CentOS distributions certbot / Lets Encrypt uses snap to keep SSL certificates up to date. Below are the instructions.
certbot instructions: Nginx on CentOS/RHEL 8
$ sudo snap install core; sudo snap refresh core
$ sudo ln -s /snap/bin/certbot /usr/bin/certbot
$ sudo certbot --nginx
However in a comment to this question Michael Hampton indicated that snap is not commonly used for Centos distributions and not necessarily needed for this job.
This isn't really an issue on CentOS where the packages are kept up to date. You could try to use the snap, but snap is largely yet another technologically questionable Canonical thing and most everyone else in the world ignores it.
How might certbot / Lets Encrypt be set up on CentOS / NGINX so that a certificate is downloaded and kept up to date without snap? I'm beginning to realize that the fewer technologies I use the less chance something might go wrong in the future.
certbot is available on EPEL. Follow these instructions to add the Extra Packages for Enterprise Linux (EPEL) to your system. After that certbot can be installed like any other package with
yum install certbot
.The certbot package is then updated along with the other packages on the system when running
yum update
.