SSL issues after server migration

pqpier

Member
Aug 12, 2022
21
1
3
Brazil
cPanel Access Level
Root Administrator
So I had a WHM/cPanel on a cloud server and I migrated over to a dedicated server.

There is some issue with the SSL.
I was using lets encrypt in the cloud server and am using it again in the new server.

It looks like upon account creation and/or domain added, self-signed certificates are not being generated.

So all users were seeing content from another user. I went to the SSL hosts thing and made my own domain as primary.
So at least now they don't see another users content, but issue persists.

Some domains are never getting SSLed through auto ssl... Some other show the SSL was installed, domain is OK, but when I open the website, it shows like certificate is from my domain and not the users domain.

If I try to install certificate via LE plugin on their cpanel acc, it seems to work but it doesnt change anything.

If try to install via install certificate on WHM Panel, I get the following error:

API failure: Missing “cert”! at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 36.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,497
1,968
363
cPanel Access Level
Root Administrator
Hey there! If you manually check the Apache configuration, can you confirm that there is no vhost on port 443 for the domains that are experiencing this issue? If that's the case, there could be an issue with the account creation process, or the Apache configuration, and we'd likely need a support ticket created to dig into those.
 

pqpier

Member
Aug 12, 2022
21
1
3
Brazil
cPanel Access Level
Root Administrator
I forgot to mention I am using Litespeed on this server.

Hey there! If you manually check the Apache configuration, can you confirm that there is no vhost on port 443 for the domains that are experiencing this issue? If that's the case, there could be an issue with the account creation process, or the Apache configuration, and we'd likely need a support ticket created to dig into those.
 

pqpier

Member
Aug 12, 2022
21
1
3
Brazil
cPanel Access Level
Root Administrator
cPanel still creates and reads data from the Apache configuration file, so it's still worth checking /etc/apache2/conf/httpd.conf to see if the vhosts themselves are present.
I checked now and vhosts are there, but if I had to guess, I'd say they weren't before.

It looks like it was something with Litespeed.
Things seem to be working fine now after building Litespeed and applying some changes under EasyApache 4 that were automatically suggested or something like that.

I will get back if issue arises with new customers, but the ones the had this problem seem to be sorted out.
 

pqpier

Member
Aug 12, 2022
21
1
3
Brazil
cPanel Access Level
Root Administrator
Can you submit a ticket to our support team before any other changes are made so we can see the server in this state?
I'm trying, but I can't get passed the submit button, it says my support access ID is invalid.

I just copied it using /usr/local/cpanel/cpanel -S and logged as root user.