renew ssl certs on different time

tomadmiraal

Verified User
Joined
Dec 8, 2006
Messages
12
Location
Netherlands
Is it possible to change the time at which the SSL certificates are renewed?

Our DNS provider installed a DDOS protection which will block IP-addresses with too many requests.

At night, all DirectAdmin machines will renew SSL certificates at the same time and LetsEncrypt will then be blocked.
The moment when the certificates are renewed would solve this problem
 
Hello,

You might try and update time in the files:

/usr/local/directadmin/data/users/*/domains/*.cert.creation_time

It is Unix Time Stamp format used in the files.
 
That is the time the certificate was last changed and should be changed per domain.

What I'm actually looking for is a way to run the certificate renewal task at a different time. Just change the time of the cron job.

Is that possible?
 
I believe the renewal processes are based on the time from the mentioned files. Otherwise I would have all certificates renewed at the same hour:minute. But I have a variety there:

Code:
-rw-r----- 1 diradmin access 11 May  6 15:36 /usr/local/directadmin/data/users/aUserA20/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 Mar 28 01:06 /usr/local/directadmin/data/users/aUserA21/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 Apr 27 15:29 /usr/local/directadmin/data/users/aUserA21/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 May  6 15:38 /usr/local/directadmin/data/users/aUserA21/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 May  6 15:37 /usr/local/directadmin/data/users/aUserA23/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 Apr  9 00:58 /usr/local/directadmin/data/users/aUserA25/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 Apr 24 17:12 /usr/local/directadmin/data/users/aUserA26/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 Mar 23 01:07 /usr/local/directadmin/data/users/aUserA27/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 Mar 19 01:11 /usr/local/directadmin/data/users/aUserA29/domains/*************.cert.creation_time
-rw-r----- 1 diradmin access 11 May  4 15:35 /usr/local/directadmin/data/users/aUserA29/domains/*************.creation_time


I have 105 unique time/dates for certificates renewals for 165 domains.
 
Back
Top