Uninstalling SSL Certificates Leads to Site Wide 404

Operating System & Version
Linux
cPanel & WHM Version
Not Sure

PostAlmostAnything

Well-Known Member
Mar 3, 2020
100
2
18
Portland, Oregon
cPanel Access Level
Website Owner
I just uninstalled the SSL certificates from a domain because they were all self signed even though AutoSSL should have created valid certificates. The domain is brand new and running AutoSSL didn't fix the problem. Then I found these instructions which I tried to follow, but instead of creating new certificates I still see a no symbol listed next to everything associated with the domain.

How do I force AutoSSL to do its job right or at least revert myself to before the 404 errors. I checked the file system and everything is still there where it should be, but for some reason no having a SSL certificate at all causes 404 errors. The site is still accessible via http protocol, but https fails and I am not comfortable trying to work in /wp-admin/ without SSL and I'm not even sure if it allows non-secure connections.

UPDATE: I fixed the 404 by using the certificate installation feature, but the certificate it installed is self-signed. How do I force AutoSSL to sign create a proper certificate? Normally it does it automatically, but for some reason it is only doing self-signed certificates.
 
Last edited:

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
576
266
138
IN
cPanel Access Level
Root Administrator
If you have root access to the server then try the below command:

Code:
/usr/local/cpanel/bin/autossl_check --user=username
NOTE: replace the username in the above command with your cPanel account name.
 
  • Like
Reactions: cPRex

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,596
2,615
363
cPanel Access Level
Root Administrator
The command that @kodeslogic provided will give you much more information about the AutoSSL installation process, and will hopefully provide a reason why the certificate can't be installed.

If you don't have root access to the machine, you'll need to contact your hosting provider or datacenter to have them check the system.