Enhancement redirect was already set

My domain is: 8hhgym.preuss-it.com

I ran this command: certbot --apache

It produced this output: >> Enhancement redirect was already set. <<

My web server is (include version): apache2 2.4.41-1+ubuntu16 amd64

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

My hosting provider, if applicable, is: 1und1

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. I am root

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

PHP version: 7.4.4

Hi.
I am using certbot almost three years on different server. Everything works fine by now. Yesterday I ran ‘certbot --apache’ for the domain I mentioned above. Everything runs as usual. At the end I got the message: ‘Enhancement redirect was already set.’

But the connection is still insecure.

Help would be great.

Best bolshii

1 Like

Hi @bolshii

checking your domain via https://check-your-website.server-daten.de/?q=8hhgym.preuss-it.com

there is a valid certificate:

CN=ingo-preuss.de
	09.04.2020
	08.07.2020
expires in 89 days	2kkgs.preuss-it.com, 3kkgs.preuss-it.com, 
7hhgym.preuss-it.com, 8hhgym.preuss-it.com, 
d8hhgym.preuss-it.com, ingo-preuss.de, 
kkgs.preuss-it.com, preuss-it.com - 8 entries

And you have already created 3 identical certificates:

Issuer not before not after Domain names LE-Duplicate next LE
Let's Encrypt Authority X3 2020-04-10 2020-07-09 8hhgym.preuss-it.com - 1 entries duplicate nr. 3
Let's Encrypt Authority X3 2020-04-09 2020-07-08 2kkgs.preuss-it.com, 3kkgs.preuss-it.com, 7hhgym.preuss-it.com, 8hhgym.preuss-it.com, d8hhgym.preuss-it.com, ingo-preuss.de, kkgs.preuss-it.com, preuss-it.com - 8 entries duplicate nr. 1
Let's Encrypt Authority X3 2020-04-08 2020-07-07 8hhgym.preuss-it.com - 1 entries duplicate nr. 2
Let's Encrypt Authority X3 2020-04-08 2020-07-07 8hhgym.preuss-it.com - 1 entries duplicate nr. 1

But your http doesn't work, there is a 503 Service Unavailable error. So a redirect can't work.

2 Likes

It looks like your port 80 virtualhost and your port 443 virtualhost are serving different stuff. Check your files in /etc/apache2/sites-enabled

2 Likes

Thank you both Juergen & 9peppe. From older days there was a RewriteCondition and a RewriteRule in my conf file. So, I deleted the contetn of my conf file. Deleted the ssl conf. Rerun certbot --apache and it did the job as expected.

Again, thanks a lot :slight_smile:

1 Like

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