Symptoms
Logging into WHM when the certificate has expired will result in an error similar to this one appearing:
License File Expired: LTD: 1644536928 NOW: 1644571639
You may also see entries similar to the following in the /usr/local/cpanel/logs/license_log log file.
Sat Feb 5 10:49:28 2022: Transition to SSL failed on 2089: SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Description
The licensing system requires a secure working connection, and removing or altering the files provided by the ca-certificates package will cause the server to no longer receive license updates. After some time, the server will start saying the license has expired because it has not been able to refresh the license file on the server.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Backup the
/etc/pkifolder -
cp -rav /etc/pki{,.$(date +%s)} - Reinstall the
ca-certificatespackage.- RHEL-based
dnf reinstall ca-certificates
- Ubuntu
apt install --reinstall ca-certificate
- RHEL-based
- Update the license.
-
/usr/local/cpanel/cpkeyclt
Comments
0 comments
Article is closed for comments.