Ssl_error_bad_cert_domain

I have installed an ssl let’s encrypt certificate on the apache server on which the domain www.bloomydesign.it is hosted (apache)

then I edited the .htaccess file to switch from http to https:

Rewrite to www

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.bloomydesign.it/$1 [R,L]

However the browser does not see the active ssl certificate and the connection is not secure with the following error message:
SSL_ERROR_BAD_CERT_DOMAIN

1 Like

Hi @dedoweb

redirects have nothing to do with certificates. Checking your domain you have created a certificate - https://check-your-website.server-daten.de/?q=bloomydesign.it#ct-logs

Issuer not before not after Domain names LE-Duplicate next LE
Let’s Encrypt Authority X3 2020-08-15 2020-11-13 bloomydesign.it, ftp.bloomydesign.it, mail.bloomydesign.it, pop.bloomydesign.it, smtp.bloomydesign.it, www.bloomydesign.it - 6 entries duplicate nr. 2
Let’s Encrypt Authority X3 2020-08-12 2020-11-10 bloomydesign.it, ftp.bloomydesign.it, mail.bloomydesign.it, pop.bloomydesign.it, smtp.bloomydesign.it, www.bloomydesign.it - 6 entries duplicate nr. 1

But you don’t use it, instead,

CN=lnx10.slhosting.it
	14.06.2020
	12.09.2020
expires in 28 days	lnx10.slhosting.it - 1 entry

is used. That’s a correct Letsencrypt certificate, but the domain name is wrong -> invalid.

First install your certificate.

All answers are required.

1 Like

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