How to forcefully renew Let's Encrypt certificate

Originally published at:

Forcefully renew Letsencrypt certificate for Nginx and Apache web server
How do I forcefully renew the Letsencrypt certificate on an Ubuntu, Debian, CentOS, RHEL, Fedora, or FreeBSD Unix systems?

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki