Submitted by info@orderlastm... on Sun, 01/15/2017 - 16:33
I plan to run a cron job for SSL certificate renew from let's encrypt, but the only command output it generate out is there is no result...
how could I know this cron job is set properly....I don't wanna know if fails when I need it.
below is the script I put on command dialog
./root/certbot-auto renew --quiet --no-self-upgrade
Status:
Active
Comments
Submitted by info@orderlastm... on Sun, 01/15/2017 - 18:31 Comment #1
cause in cpanel there is an option email notification when cRon job run everytime
Submitted by JamieCameron on Sun, 01/15/2017 - 20:57 Comment #2
The cert renewal script will email the domain owner if it fails.
Submitted by andreychek on Sun, 01/15/2017 - 22:10 Comment #3
Howdy -- note that Virtualmin can handle obtaining Let's Encrypt SSL certificates for you.
You can configure that in Server Configuration -> Manage SSL Certificates -> Let's Encrypt.
In there, you can set an auto-renew period, which will tell Virtualmin to renew the SSL certificate after that period.
In that case, you wouldn't need your own cron job for handling renewals, as Virtualmin would renew them for you.