Problem installing SSL certificate

starofnight

Member
Sep 28, 2018
7
0
1
Iran
cPanel Access Level
Root Administrator
Hello
I installed the ssl certificate via cpanel and it shows that the certificate has installed successfully, however it is not active on the domain now. when I check in ssl checker sites, the active ssl on this domain is another domain certificate. I checked the manage SSL hosts and I found that this certificate belongs to a domain which set as a primary domain in cpanel.
by the way, I checked these paths too:
/var/cpanel/ssl/apache_tls
/var/cpanel/ssl/domains_tls
and the correct certificate was set, however in /etc/httpd/conf/httpd.conf path, I couldn't find <VirtualHost ip:443> for my domain and in this file I only can see the shared certificates.
Please help me
Regards
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston
Hi @starofnight

I'm curious if the apache conf hadn't been updated/rebuilt. Could you do the following


Code:
/scripts/updateuserdomains
/scripts/updateuserdatacache
mv /etc/apache2/conf/httpd.conf{,.bak}
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
and let me know if you see the SSL VirtualHost?