Request Let's Encrypt Certificate via Certbot

Because I needed this quite often (in the past week) and I always have to ssh into one of my remote servers and look the syntax up in one of my bash scripts, I'll simply leave this here:

Request / Refresh

/usr/bin/certbot -a webroot --webroot-path=/www/ -d -d certonly


Because I'm a lazy ass programmer, I have this in my crontab:

/usr/bin/certbot renew --agree-tos
/usr/sbin/service nginx reload

I have it run once a week like so:

45 14 * * WED /home/babba/letsencrypt-renew.bash