I have a setup the SSL Certificate for apache2 with Lets Encrypt using Certbot. It works with my main domain. Does it inclucde automaticly sub domains too? Like “https://forum.xxxxx.de”? Or do I have to setup the DNS from the Domain? Because I setup it for “xxxx.de” and not for “forum.xxxx.de”…
Can someone help me maybe? I added an “A” Record for “forum.xxxx.de”.
You need to obtain validation for every domain / subdomain you require.
exactly how you do this depends on what you want to achieve. Do you want a single certificate for xxxx.de and forum.xxxx.de ? or do you want separate certificates, one for xxxx.de and another for forum.xxxx.de ?
I just did this: “certbot --apache -d forum.xxxx.de” and it worked. The only thing is now. This forum is from woltlab. When I go to “https://forum.xxx.de” its not green:
BUT when I go to the Admin Panel of Woltlab, its green somehow… Idk why.
Your certificate is fine ( you do not need to renew it )
In the code on your page, in your style sheets, you include images which are loaded over http not https
If your page includes images ( or other content ) loaded over http, this is considered insecure - hence you do not get a green lock. You need to change your code to include the images over https, not http.
This goes back to my initial comment “Do you want a single certificate for xxxx.de and forum.xxxx.de ? or do you want separate certificates, one for xxxx.de and another for forum.xxxx.de ?” since the names need to match.
OK, you need to obtain a single certificate for wintex-sports.de and forum.wintex-sports.de then. Once you have done that, everything should work correctly ( as long as you load all images etc using https not http )
As you already have a certificate ( did you just get the one ? or did you also create one for the main domain ? ) I would suggest using the --expand option to include the additional domain name.
Ah I see… I found the images…Well, its for everyone different then… Because if u use a signature without https, it will not green lock… Because every user uses different links to the signature…
With forums you have to either accept that mixed content is inevitable or block insecure images. You could do this by setting a CSP with the upgrade-insecure-requests and block-all-mixed-content directives set, but consider the inconvenience to users.