How to setup automatic Lets Encrypt renewal with cronjob when using Easy Engine

  • cron job

It’s a short but sweet mini-article.

On my personal server I am using Easy Engine for easier setup of several pages, being WP or pure static websites. And nowadays everyone really love to use SSL, for a good reason of course I prefer to use Lets Encrypt SSL that is also part of an Easy Engine.

If you want to automate the SSL renewal, I’d suggest placing this cronjob (Using command crontab -e while in sudo / being root):

0 12 * * * ee update --le=renew --all 2> /dev/null # Renew letsencrypt SSL cert for generatedcspapers
0 12 * * * ee update --le=renew --all 2> /dev/null # Renew letsencrypt SSL cert for codeandunicornssite

Above you can see an example with first one being set only for the particular subdomain and second one for the main website. Rinse and repeat and of course amend for any other website running on same server.

By |December 23rd, 2017|Categories: ALL|

About the Author:

Senior lead developer currently working in Java, architecture design, mix of tech from Front-end in JS and templating to chef,rundeck etc. For fun and challenge I am writing different blog posts from stories to poems, programming tutorials and many more. Currently working on my Masters degree on a part-time basis.