SROZ.net

Home » auto renew letsencrypt

auto renew letsencrypt

Turns out this is much simpler than I thought:

#!/bin/sh
/bin/letsencrypt renew || exit 1
service nginx restart

And run it monthly:

@monthly    /home/josh/bin/renew_cert.sh
Posted 2016-03-03T09:37:08-05:00