Using certbot for SSL
-
I really love certbot because it makes SSL certificate management very simple. I realized that the site here had an expired SSL for both generalforum.org and www.generalforum.org and it was super easy to update both:
- sudo certbot --nginx
- the nginx flag is a plugin that allows certbot to auto update any nginx configuration files to use new paths / settings to the SSL certificate files
- this then presents a list of all sites I have in my nginx/sites-enabled/ folder
- I simply had to type in the #s 6 and 7 which correspond to GF's regular and www. domain URLs and press Enter
- Once you select the target site, NGINX will ask a few questions
- I typed in the letter K and pressed enter to Keep the current settings
- I typed in the number 2 and pressed enter to Renew the certificate instead of attempting to reinstall the old/expired cert
It took me longer to write this post than it took me to update the SSL.
Does anyone here use certbot and if not, why? - sudo certbot --nginx