Page 1 of 1

Let's Encrypt Certificates

Posted: Thu Nov 16, 2017 1:27 pm
by Perp
Hello,

I started using Let's Encrypt certificates for my sites under vesta , instead of self-signed certificates.

But now Im receiving mails that my Let's Encrypt certificates will run out and I need to update them.

I thought process should be automated when used inside Vesta? Is there a way to automate updating of certificates ? Also how to update the certificates on my own ?

Help is appreciated.

Re: Let's Encrypt Certificates

Posted: Thu Nov 16, 2017 5:37 pm
by mehargags
Please try to read a few pages on the forum before posting such a generic question.
Yes, when you enable Let's Encrypt on any domain, there is an automatic Daily cron setup that renews all SSLs that are less than 30 days to renew.

Re: Let's Encrypt Certificates

Posted: Thu Nov 16, 2017 5:56 pm
by tatubias
check at the cron tab. you should have something like the following line

Image

Re: Let's Encrypt Certificates

Posted: Thu Nov 16, 2017 6:16 pm
by Perp
I had that cron job only on admin user, not on any other... I have added it manually, hopefully that is fixed.

Thanks for your help.

Re: Let's Encrypt Certificates

Posted: Thu Nov 16, 2017 6:49 pm
by mehargags
The cron job renews it for all domains server-wide under all users, it is not needed inside individual users.

If you want to admin a VestaCP Server, I'd suggest you to read through the forums and learn a bit more before using it full time.

Re: Let's Encrypt Certificates

Posted: Mon Nov 20, 2017 7:16 pm
by Perp
mehargags wrote:The cron job renews it for all domains server-wide under all users, it is not needed inside individual users.

If you want to admin a VestaCP Server, I'd suggest you to read through the forums and learn a bit more before using it full time.
If that is the case, how do you explain the mails I'm receiving from Let's Encrypt that certificates will run out soon and that I need to update them ?

Re: Let's Encrypt Certificates

Posted: Tue Nov 21, 2017 12:01 pm
by ScIT
Perp wrote:If that is the case, how do you explain the mails I'm receiving from Let's Encrypt that certificates will run out soon and that I need to update them ?
He do not explains that, he explains that you need to have some basic linux knowledge and the ability to understand how for example to run the letsencrypt script manualy to see if you have any error.

You didn't provide any informations about your system, maybe also you didn't check your log files (you can find the paths here: https://vestacp.com/docs/), you just post a generic request "i get this mails". Without any additional information we are unable to provide any support.

Let's Encrypt works on our system without any problems "out of the box". So if you want to have some free support, please share more informations, otherwise you are free to choose the VestaCP payed support: https://vestacp.com/support/

Re: Let's Encrypt Certificates

Posted: Sun Nov 26, 2017 8:54 am
by Perp
OK, the problem was that I had this error when using v-update-letsencrypt-ssl:
DNS problem: NXDOMAIN looking up A for <name>.alpha.<domain-name>

I fixed by removing dependecies to that alpha sub-domain.