Renew an expired certificate via command line

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: installation with DirectAdmin

It produced this output:

My web server is (include version): Apache 2.4.39

The operating system my web server runs on is (include version): CentOS 6.10

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): DirectAdmin but in this moment I cannot access it

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): no client yet.

Hi @SmaragdnaDolina

checking your domain there is already a new Letsencrypt certificate -

Issuer not before not after Domain names LE-Duplicate next LE
Let's Encrypt Authority X3 2019-10-10 2020-01-08, - 2 entries duplicate nr. 1

So you should have a new certificate.

You use an expired. So fix your DirectAdmin, so you can install the new certificate.

Yes, I did install a certificate three months ago but I must have forgotten to set a reminder. So it has expired in the meanwhile.

My DirectAdmin licence has expired, so I an searching for instructions on the renewal via command line.

In the meanwhile I have installed Let’s Encrypt following the instructions here:

" When the 90 days are almost up, come back to this page and execute the Let’s Encrypt command again with the correct domain and webroot options. You’ll be asked if you want to renew, agree, and the certificate will be renewed. Then restart the webserver via a service httpd restart . Repeat is for all certificates."

Now, can I simply proceed this way from command line?

Or, since the certificate expired a few days ago, should I remove the files and proceed as for a new installation?

Thanks in advance for your assistance.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.