LetsEncrypt Support - Automate Updates?
-
- Posts: 5
- Joined: Sat Aug 20, 2016 12:58 pm
LetsEncrypt Support - Automate Updates?
Hi,
I have been working on getting a complete vesta server running and finally all is looking well. Apart from some certificate issues (client warnings) with IMAP everything is working pretty well. I have used the vesta CLI tools to setup SSL certificates for my domains and all is working well, super simple.
But, one final question about LetsEncrypt and Vesta. I noticed the v-update-letsencrypt-ssl CLI tool and tried running from bash and it returned nothing, no errors. So, I looked at the script contents and it says to be used to automatically update all LE ssl domains. Great, so my thought was to just setup a cron job to run this.
So, I added "sudo /usr/local/vesta/bin/v-update-letsencrypt-ssl" as a new cron job in Vesta that runs every other month.
My question is, is this correct? Should this keep all my domain's certificates updated assuming I manually set them up with the CLI when adding the domain?
Thanks.
I have been working on getting a complete vesta server running and finally all is looking well. Apart from some certificate issues (client warnings) with IMAP everything is working pretty well. I have used the vesta CLI tools to setup SSL certificates for my domains and all is working well, super simple.
But, one final question about LetsEncrypt and Vesta. I noticed the v-update-letsencrypt-ssl CLI tool and tried running from bash and it returned nothing, no errors. So, I looked at the script contents and it says to be used to automatically update all LE ssl domains. Great, so my thought was to just setup a cron job to run this.
So, I added "sudo /usr/local/vesta/bin/v-update-letsencrypt-ssl" as a new cron job in Vesta that runs every other month.
My question is, is this correct? Should this keep all my domain's certificates updated assuming I manually set them up with the CLI when adding the domain?
Thanks.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: LetsEncrypt Support - Automate Updates?
Theorotically yes but keep an eye on the command ans any errors produced. It is still experimental feature
-
- Posts: 5
- Joined: Sat Aug 20, 2016 12:58 pm
Re: LetsEncrypt Support - Automate Updates?
Yes, I understand the CLI is experimental still and will be monitoring the domains certificates and logs. Just wanted to make sure that my understanding and configuration is correct.
Thanks for the reply!
Thanks for the reply!