TITLE:
Let'sEncrypt certificate creation fails for subdomain
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Onyx 17.8.11 #17, CentOS 7, x86_64
PROBLEM DESCRIPTION:When creating a new domain test.example.com and checking the box 'Secure the domain with Let's Encrypt', Plesk assumes that both:
test.example.com
www.test.example.com
need to be covered by the certificate.
The creation fails for obvious reasons.
STEPS TO REPRODUCE:test.example.com
www.test.example.com
need to be covered by the certificate.
The creation fails for obvious reasons.
- Create a new domain (not a subdomain) like: test.example.com
- check the box to get a Let'sEncrypt certificate
- click OK
ACTUAL RESULT:- check the box to get a Let'sEncrypt certificate
- click OK
The domain is created, but the certificate request fails.
EXPECTED RESULT:When a subdomain is created as a Plesk domain create the certificate only for the subdomain itself.
Perhaps detect a subdomain was requested and by default not include 'www' in the certificate.
ANY ADDITIONAL INFORMATION:Perhaps detect a subdomain was requested and by default not include 'www' in the certificate.
It is not a major problem, because one can simply select the newly created domain and request a Let'sEncrypt certificate for it, this time NOT checking the box 'Include a "www" subdomain for the domain and each selected alias' that is not available when creating the domain.
It would make sense, to me, to use the same default on both forms and assume one does not want the 'www' subdomain, perhaps only if the domain being created is already a subdomain.
P.S. I am not creating test.example.com as subdomain of example.com because I want them separate (see this question)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:It would make sense, to me, to use the same default on both forms and assume one does not want the 'www' subdomain, perhaps only if the domain being created is already a subdomain.
P.S. I am not creating test.example.com as subdomain of example.com because I want them separate (see this question)
Confirm bug