Your connection to this site is not secure

greektranslator

Well-Known Member
Jun 5, 2011
123
10
68
Greece
cPanel Access Level
Root Administrator
I am getting "Your connection to this site is not secure" error when want go to WHM/cPanel via IP:2087.
When clicking the "not secure icon" on address bar I see "certificate invalid". Clicking on certificate it says it is a valid Cpanel Comodo certificate for host.mydomain.com.

  • CENTOS 7.5 standard

  • v70.0.42
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @greektranslator,

It looks like you submitted a support ticket for this issue (#9586067). Here's the response sent by one of our Technical Analysts:

The reason that the browser is telling you that the connection is not secure is due to the domain name the certificate was issued for and the one used to access the site not matching.

SSL certificates are not issued for IP addresses so if you visit a service using the IP address directly, that warning will pop up since the IP address does not match the certificate's domain. In order to avoid this message, you can(and should) use your server's hostname rather than it's IP address when accessing your cPanel services.

# This will not give off any warnings
=========================================================
https://hostname:2087
=========================================================
Let us know if this answers your question.

Thank you.