crysix
New Pleskian
- Server operating system version
- Ubuntu 18.04.6 LTS
- Plesk version and microupdate number
- Plesk Obsidian Version 18.0.52 Update #3
Hello, I have a little SSL problem with subdomains used dy alias domains.
Following situation:
Main domain: domain1.com
Alias domain: domain2.com
Alias domain: domain3.com
Creating a Let's encrypt certificat for Main Domain will also secure all alias domains. So far so good. Everything works, redirecting, also secure redirecting etc.
Now creating a subdomain:
sub.domain1.com
Plesk automatically adds corresponding alias subdomains:
sub.domain2.com and sub.domain3.com
So if you enter sub.domain2.com you will automatically be redirected to sub.domain1.com.
So far so good, BUT, if you create a Let's encrypt for sub.domain1.com, Plesk will ONLY create it for this Subdomain and not for the alias subdomains, which Plesk automatically added correctly.
So while the main domain's alias' are all secured correclty, the subdomains aren't.
This way, if you open https://sub.domain2.com you will get a certificate error (there is no certificate for that domain). If you ignore that error or open the domain without SSL it will redirect correctly.
But plesk should also secure the subdomains here. They are added in http.conf of that domain, but not secured.
Following situation:
Main domain: domain1.com
Alias domain: domain2.com
Alias domain: domain3.com
Creating a Let's encrypt certificat for Main Domain will also secure all alias domains. So far so good. Everything works, redirecting, also secure redirecting etc.
Now creating a subdomain:
sub.domain1.com
Plesk automatically adds corresponding alias subdomains:
sub.domain2.com and sub.domain3.com
So if you enter sub.domain2.com you will automatically be redirected to sub.domain1.com.
So far so good, BUT, if you create a Let's encrypt for sub.domain1.com, Plesk will ONLY create it for this Subdomain and not for the alias subdomains, which Plesk automatically added correctly.
So while the main domain's alias' are all secured correclty, the subdomains aren't.
This way, if you open https://sub.domain2.com you will get a certificate error (there is no certificate for that domain). If you ignore that error or open the domain without SSL it will redirect correctly.
But plesk should also secure the subdomains here. They are added in http.conf of that domain, but not secured.