AUTOSSL sni not redirecting

sdevroey

Registered
Aug 19, 2017
1
0
1
Belgium
cPanel Access Level
Root Administrator
Hello all,

I've got the following issue :

I have a VPS with WHM 64on CENTOS 7.3. This server is hosting 50+ websites/accounts/domains. Each domain has it's own SSL certificate through auto SSL.

However when trying to reach a certain domain/website through Https i get an error SSL_ERROR_BAD_CERT_DOMAIN because the certificate relates to my server name (vps.servername.com) instead of the domain of the website (example.com)

The certificate for the domain is valid.
Always redirect to SSL/TLS in tweaksettings is on
The server IP is dedicated and shared with the websites/domains

It seems to work for some domains, not for other.
The domains that do not work have following options different as the domains that do work :
- Is Primary Website on IP Address? Yes
- Is SNI Required? No
Where with the domains that are working it's the opposite.

But I can't change these options ...

Any pointers would be great.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
However when trying to reach a certain domain/website through Https i get an error SSL_ERROR_BAD_CERT_DOMAIN because the certificate relates to my server name (vps.servername.com) instead of the domain of the website (example.com)
Hello,

Can you verify if this relates to the domain name itself, or to proxy subdomains (e.g. cpanel.domain.tld)? Also, do you notice any error messages for the affected domain names under the "Logs" tab in "WHM >> Manage AutoSSL"?

Thank you.