i have a existing site named Code: de.customer.mydomain.tld and i got a existing wildcard cert for Code: *.mydomain.tld When i enable the SSL for the site and enter my Datas, Key & Cert i can only got the following options for "ssl domain" value Code: de.customer.mydomain.tld www.de.customer.mydomain.tld *.de.customer.mydomain.tld but it's not possible to set the value to the needed *.mydomain.tld to make the wildcard cert work. if i use the available options i get the error SSL_ERROR_BAD_CERT_DOMAIN when requesting the site. using the wildcard cert with a regular subdomain works without any problems. is there any workaround to get this running?
The values there do not matter for your cert, they are only used for creatng new certs. Just enter the cert and key and select save certificate as action.
Thats what i did, then i get the SSL_ERROR_BAD_CERT_DOMAIN. as far as i know the wildcard cert covers any depth of subdomains.
I believe that's incorrect, to match de.customer.mydomain.tld you could use either *.customer.mydomain.tld or *.*.mydomain.tld, but *.mydomain.tld does not match. You could try to get a single cert with SAN names to cover mydomain.tld, *.mydomain.tld and *.*.mydomain.tld, which should work in theory, but it sounds like you can have issues in the client implementation (I've never tried it). What if you install letsencrypt, and just get a separate certificate for each site?