Certificate Obtained but Not Applied to Wordpress

Please fill out the fields below so we can help you better.

My domain is: www.waiting-for-reconnect.de

I ran this command: sudo certbot apache

It produced this output: all fine certificate installed (dont remember the right output)

My web server is (include version): apache2 2.4.25

The operating system my web server runs on is (include version): ubuntu 17.04

My hosting provider, if applicable, is: contabo

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

Ive installed the certifikate with certbot it came with no errors. if i go onto my page it still says ‘this page is not save’ then i go to more informations and i can see the lets encrypt certifikate.

The certificate does not include "www".
Try https://waiting-for-reconnect.de/

thank you. Do you mean the certificate is written for waiting-for-reconnect.de and not www.waiting-for-reconnect.de? could it be this or does letsencrypt generally doesnt include www.? can i change it if i rewrite the certificate for www…?

thank you for your fast responde :slight_smile:

Yes, the current certificate is only for:
X509v3 Subject Alternative Name:
DNS:waiting-for-reconnect.de

And yes, you can/should change the certificate for one that would have both names - like:
X509v3 Subject Alternative Name:
DNS:waiting-for-reconnect.de
DNS:www.waiting-for-reconnect.de

Most likely with a command something like:
sudo certbot apache -d waiting-for-reconnect.de -d www.waiting-for-reconnect.de

I see that you now have a certificate with both names; and that does fix most of the problems.

But you have not addressed all four cases:
1 - https://waiting-for-reconnect.de forwards to https://www.waiting-for-reconnect.de/ (GOOD)
2 - https://www.waiting-for-reconnect.de (GOOD)
3 - http://waiting-for-reconnect.de forwards to https://waiting-for-reconnect.de/ which forwards to https://www.waiting-for-reconnect.de/ (GOOD)
4 - http://www.waiting-for-reconnect.de does NOT forward (???)

Now that you say that and I don’t know why…

I mean i told certbot in the Installation that i want only https. But it could bei that a Plugin from WordPress fucked it Up… in sich documents can i configure that? Or can i Just Run certbot again for that?

after i klick one menu button or anything else to go whereever it switches to https, and it only affects the homepage or the other sides (except of wordpress admin) if i write the url manually..... wth have i done

and even with a plugin that “forces” https its still on http

if you search this forum for wordpress you will see other have had a similar issues and posted a solution.

Andrei

The Problem was another as described in you suggestions.
but thanks anyways. I installed really simple ssl: and it fixed the redirection problem: but the redirection now is:
http://www.waiting-for-reconnect.de/ -> https://www.waiting-for-reconnect.de/ and
http://waiting-for-reconnect.de -> https://waiting-for-reconnect.de

and not:
http://waiting-for-reconnect.de -> https://waiting-for-reconnect.de
http://www.waiting-for-reconnect.de
=====>https://www.waiting-for-reconnect.de

but i think i will just keep it like this, cause safety first before own behavior. so A big thanks to you two and have a nice day :blush:

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