Or copy link
If you are trying to install or manage an SSL certificate in cPanel and see the message There was a problem processing your request Error fetching installed SSL certs Unable to retrieve the installed hosts, you are not alone. This is a common issue on cPanel/WHM servers and usually appears when the server fails to read the existing SSL configurations.
In this article, we will explain the causes, solutions, and step-by-step fixes for this SSL error in a simple.
This error generally appears because cPanel cannot properly fetch SSL data from the server. Some common causes include:
If the SSL or Apache userdata files are damaged, cPanel cannot load the installed certificates.
AutoSSL may get stuck or fail to update SSL certificates properly.
cPanel stores SSL certificate information in /var/cpanel/ssl/. If this directory is corrupt, errors will occur.
/var/cpanel/ssl/
Wrong permissions on cPanel SSL directories or Apache userdata can prevent certificate retrieval.
If the server hostname SSL is invalid or missing, it can trigger SSL errors inside WHM/cPanel.
Below are several tested solutions you can apply via SSH (root access required).
A simple restart often resolves temporary conflicts:
service cpanel restart service httpd restart
Run the built-in repair tools:
/scripts/restartsrv_cpsrvd --hard /scripts/restartsrv_httpd /scripts/check_cpanel_rpms --fix /scripts/fixautossl
This fixes missing RPMs and rebuilds the AutoSSL environment.
If Apache cannot read userdata, SSL will fail. Rebuild it using:
/scripts/update_usersdomains /scripts/rebuildhttpdconf service httpd restart
This recreates the entire Apache configuration safely.
This command checks all SSLs and rebuilds missing ones:
/usr/local/cpanel/bin/checkallsslcerts
You can view the most recent errors using:
tail -n 200 /var/cpanel/logs/autossl.log
This helps identify domain-specific SSL issues.
Broken hostname SSL can cause global issues:
whmapi1 fetch_service_ssl_components
If missing, regenerate using:
/usr/local/cpanel/bin/autossl_check --all
Sometimes the SSL folder has wrong file permissions:
chown -R root:root /var/cpanel/ssl chmod -R 700 /var/cpanel/ssl
This ensures cPanel can access the certificate files correctly.
If you are not sure what the problem is, use this complete fix:
/scripts/check_cpanel_rpms --fix && \ /scripts/rebuildhttpdconf && \ /usr/local/cpanel/bin/checkallsslcerts && \ service httpd restart
This repairs most SSL and cPanel configurations.
The issue may be due to:
Check for disk issues:
df -h
Scan error logs:
tail -n 100 /usr/local/cpanel/logs/error_log
The “Error fetching installed SSL certs” message in cPanel is usually caused by corrupted SSL data, broken Apache configuration, or AutoSSL failures. By following the steps above—such as rebuilding Apache, resetting AutoSSL, fixing permissions, and repairing SSL stores—you can easily resolve the issue and restore SSL functionality.
Proper SSL configuration is essential for website security, SEO ranking, and user trust. Fixing this error ensures your domain stays protected and loads securely with HTTPS.
cPanel Essential Guide: Master Web Hosting Management w...
If you’re working on a React admin dashboard project ...
When working with large databases, default upload limit...
Save my name, email, and website in this browser for the next time I comment.