I've got my site not working due to the expired SSL cert. Directadmin did not renew my cert and it's expired now. What to do?
All the users with domains with Let's Encrypt certs should have the file:
/usr/local/directadmin/data/users/userbob/domains/example.net.cert.creation_time
where:
- userbob - a fake username (you should replace it with your username, who owns a domain under question)
- example.net - a fake domain name (you should replace it with your domain, a SSL cert for which has expired)
and if the file does not exist Diretadmin won't try to renew a cert. That's how it is working.
You can create the files manually and add 100 into there, e.g.
echo 100 > /usr/local/directadmin/data/users/userbob/domains/example.net.cert.creation_time
Remember to replace userbob and example.net with your valid data.
and during the next nightly tally Diretadmin will try to renew the cert for the domain, or force it to run immediately:
echo "action=rewrite&value=letsencrypt" >> /usr/local/directadmin/data/task.queue && /usr/local/directadmin/dataskq d800
Connect to Directadmin and create a new cert for your domain.