TLS-SNI-01 validation is reaching end-of-life


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:grep '^pref_challs.tls-sni-01’ /etc/letsencrypt/renewal/

It produced this output:no oputput

My web server is (include version):Server version: Apache/2.4.18 (Ubuntu)

The operating system my web server runs on is (include version):Ubuntu 16.04.5 LTS

My hosting provider, if applicable, is: AWS Lightsail

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):no

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


Forget question. It fixed itself when I was gathering info for this question. Sorry :frowning:

Please close or delete.


Hi @gshafer

happy to hear that your switch away from tls-sni validation has worked.


Your configuration is incomplete ( ):

Host T IP-Address is auth. ∑ Queries ∑ Timeout A yes 2 0
AAAA yes C yes 1 0
A yes
Domainname Http-Status redirect Sec. G 301 0.230 A 301 0.227 A 200 2.457 B 200 2.226 N
Certificate error: RemoteCertificateNameMismatch

You have both domain names (www + non-www) as dns entries defined.

But your certificate has only the non-www domain name, so www doesn’t have the correct certificate.

Create a new certificate with two domain names:

certbot [your other parameters] -d -d

Then both domain names are good.


Thanks. I added a certificate for the



That didn’t work.

Rechecked your domain, now

Domainname Http-Status redirect Sec. G 301 0.243 A 301 0.850 A 200 2.533 N
Certificate error: RemoteCertificateNameMismatch 200 2.253 B

your non-www has the wrong certificate.

Your certificate has again only one domain name:
	20.04.2019 - 1 entry

you need one certificate with two domain names.


I guess I am doing it wrong. I created a separate certificate for and

I attempted to create a certificate that includes both.

Here is the output from that certificate creation:


Now it’s good:
	20.04.2019, - 2 entries

One certificate with both domain names, both connections are secure.


Thanks so much for your help. You are giving better support that the paid certificate providers. I will definately,be making a donation to the cause.



Sorry, one more quick question. I have 5 different domains on my server using virtual hosts. I have created certificates for each domain (each certificate includes the domain and the www.domain).

Is this the best way to do this, or should you include all domains on one certificate?



It’s your choice, there is no global rule.

Personally, I prefer the same. Most of my customers use my own wildcard certificate * Some customers have their own domain, now with a Letsencrypt certificate. But I don’t add this name to my own certificate, instead I create a new certificate with both names (www + non-www).

So it’s easier to renew certificates, because the domains are separated.

But big organisations like Cloudflare often have 70 - 100 domain names from different domains in one certificate.


Thanks for the response. It seems to be working well, so I will leave it as it is.

closed #12

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