Directadmin thinks it needs to renew Letsencrypt later than required date

ericovk

Verified User
Joined
Apr 17, 2012
Messages
228
Location
Rotterdam, Netherlands
I get this notification mail from my server:
Your certificate (or certificates) for the names listed below will expire in 0 days (on 05 Jan 17 09:59 +0000). Please make sure to renew your certificate before then, or visitors to your website will encounter errors.

But in the SSL settings, DA is telling that the certificate needs to be renewed after 32 days. The SSL certificate isn't available atm.
Let's Encrypt in use. Auto-renewal in 32 Days.


I had some problems with loggin in, because the date of my server was a couple of days out of sync. Maybe that could be (a part of) the cause?

 
That might be very well part of the cause. I also have this problem with my windows pc when trying to access certain Microsoft sites.
My date/time has to be correct or at least the date.

Best is to have a cron running which syncs your time with an ntp server for example.
 
Thanks, I just installed ntp and made shure it is running all the time. Hope this helps. I will check it out in the next couple of days.

For CentOS:
Code:
yum install ntp -y
chkconfig ntpd on
ntpdate pool.ntp.org
service ntpd start
 
Yep, it can be done like that.

For people wanting a cron job, here's an example for synching the time once an hour.
Code:
0 1 * * * /usr/sbin/ntpdate -s pool.ntp.org

Benefit of the daemon is that it continuously keeps time in sync and the ntpdate command does the synching at once, so the cron is not advisable for systems who's timeclock changes fast to the wrong time. :)
 
Back
Top