Can't set shared SSL to server hostname

easy-hosting

Member
Jan 21, 2015
13
1
53
cPanel Access Level
Root Administrator
So I have been having a fun time today going through updates and checking the SSL Certs are up-to-date. Ran a check on the cPanel one and the Cert had expired. So I went about trying to update it. I ended up having to delete it and install the new one.

When I try to install it like I have in the past, I get the message below:
Given “ip” doesn’t match non-SSL vhost IP (*).

No changes would have been made elsewhere.

So the next attempt I left the IP Address box empty. The certificate installed. So ran a second check and found that it is picking up 2 Certificates.

I went into Manage SSL Hosts and found that a customer Certificate (matching the one in the check) had been assigned as the Shared Cert. The Server one has "*" for the IP Address and is listed as dedicated. So I then click on Make Primary and get the message below:
The primary VirtualHost is not set for the IP address “*” and type “ssl”.

Is there any way to fix this, or do we have to have the insecurity of a customer SSL/domain being show in public checks on the Server SSL?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
None of the IP's on the server should be displaying as *

If you go to WHM>>IP Functions>>Show IP address usage do you see multiple sites using the * as the IP? If so, you might try using WHM>>MultiAccount Functions>>Change Multiple Sites' IP Addresses feature to change them to the server's shared IP address.

As for the shared SSL issue - resolving the issue with the wildcard set as the IP address should resolve the ability for you to set the hostname as the primary website
 

easy-hosting

Member
Jan 21, 2015
13
1
53
cPanel Access Level
Root Administrator
None of the IP's on the server should be displaying as *

If you go to WHM>>IP Functions>>Show IP address usage do you see multiple sites using the * as the IP? If so, you might try using WHM>>MultiAccount Functions>>Change Multiple Sites' IP Addresses feature to change them to the server's shared IP address.

As for the shared SSL issue - resolving the issue with the wildcard set as the IP address should resolve the ability for you to set the hostname as the primary website
I check this and they are only using the IP Address. "*" isn't listed.

I had also submitted a support ticket and there is an internal case for the issue. It has already been patched in cPanel 84, but not 82 or 78.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hello,

I'm glad to see the issue is resolved, it looks like the solution was to update to v84 of cPanel/WHM as this issue was a result of an issue that was fixed in that version.


Thanks!