I followed this guide to add ssl to my hostname srv1.kdubhost.com and force redirect. This works properly with exception that only srv1.kdubhost.com:2222 redirects to https but not srv1.kdubhost.com. Which is a separate issue from this one here.
I then created a user with domain kdubhost.com and generated letsencrypt ssl via account manger->>ssl certificates->>lets encrypt as per the screenshot.
I made sure ssl and force redirect are enabled in account manager->>domain setup as per screenshot.
I verified the certificate generated for kdubhost.com includes the checked subdomains ie mail, ftp, smtp, etc
kdubhost.com redirects properly and uses the proper cert. However, mail.kdubhost.com does not auto redirect to https and https://mail.kdubhost.com is attempting to use the srv1.kdubhost.com cert which of course throws a warning in chrome.
I'm assuming this is happening to all kdubhost.com subdomains but have not confirmed.
What did I do wrong? is the only way to fix this to manually edit virthost file? Or maybe I need to generate a single ssl cert that includes all subdomains including the hostname instead of following the guide? Thanks.
I then created a user with domain kdubhost.com and generated letsencrypt ssl via account manger->>ssl certificates->>lets encrypt as per the screenshot.
I made sure ssl and force redirect are enabled in account manager->>domain setup as per screenshot.
I verified the certificate generated for kdubhost.com includes the checked subdomains ie mail, ftp, smtp, etc
kdubhost.com redirects properly and uses the proper cert. However, mail.kdubhost.com does not auto redirect to https and https://mail.kdubhost.com is attempting to use the srv1.kdubhost.com cert which of course throws a warning in chrome.
I'm assuming this is happening to all kdubhost.com subdomains but have not confirmed.
What did I do wrong? is the only way to fix this to manually edit virthost file? Or maybe I need to generate a single ssl cert that includes all subdomains including the hostname instead of following the guide? Thanks.