DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

Let's Encrypt cert expired

| 12:45:20 04.10.2018

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?

Insights

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.

Solution (with SSH and root)

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


Solution for end-users

Connect to Directadmin and create a new cert for your domain.


About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition