Renewal process on digital ocean of expired certicate

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. https://crt.sh/?q=example.com), 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:
certbot renew
It produced this output:

My web server is (include version):
Ubuntu 18.04
The operating system my web server runs on is (include version):
Ubuntu
My hosting provider, if applicable, is:
Digital Ocean
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):

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

Hi @santosh370

there is a certificate, created 2019-04-30 ( https://check-your-website.server-daten.de/?q=afriyala.com#ct-logs ):

CRT-Id Issuer not before not after Domain names LE-Duplicate next LE
1431786017 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-04-30 05:39:31 2019-07-29 05:39:31 afriyala.com, www.afriyala.com
2 entries

But you don't use it, instead there is an expired certificate:

	CN=www.afriyala.com
	01.03.2019
	30.05.2019
2 days expired	
afriyala.com, www.afriyala.com - 2 entries

How did you install that older certificate?

What's the content of your renewal file located in

/etc/letsencrypt/renewal

You have redirects http -> https, perhaps your https has another configuration (another DocumentRoot). That may be part of the problem.

1 Like

Thanks for you quick reply!

In renewal directory there is a file with name www.afriyala.com , in that file below is the content

I have used below links for installation:

1 Like

Your certificate is ok (and new).

What’s the result of

apachectl -S

There should be a config file with something like

SSLCertificateKeyFile /etc/ssl.key/example.com.key
SSLCertificateFile /etc/ssl.crt/example.com.crt

There is the wrong certificate used.

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