Always redirect to SSL OFF
Non-SSL redirect destination Origin Domain Name default
SSL redirect destination SSL Certificate Name default
If I am not mistaking https:// domain . com / webmail should not redirect to https://hostname.com:2096
I have a secure certificate installed on https:// domain . com /
SSL certificates for services such as cPanel/WHM/Webmail are not supported on a per domain basis. Instead, the service certificate installed via "WHM >> Service Configuration >> Manage Service SSL Certificate" is utilized. There's a feature request for what you are seeking at:
I already know about that request. Is there a way to go around it from the terminal?
My provider says that if I buy a secure certificate for webmail.domain.com they might be able to at least make the subdomain work without any ssl errors?
There are two options as it stands now for accessing webmail.domain.com over SSL:
1. Enable proxy subdomains, which forces the use of the SSL Certificate in "WHM Home » Service Configuration » Manage Service SSL Certificates".
2. Disable proxy subdomains, and manually configure redirects for the subdomains to the proper SSL ports.