Symptoms
Clicking Browse Certificates at cPanel / SSL/TLS / Manage SSL Hosts, installing an SSL, or running the whmapi1 listcrts call for a user results in an error similar to either of the following:
CONFIG_TEXT: The certificate list could not be retrieved because of an error: Can't call method "parsed" on an undefined value a/usr/local/cpanel/Cpanel/SSLStorage.pm line 247.
CONFIG_TEXT: Template::Exception:
[TYPE]=[undef]
[INFO]=[Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/cpanel/Cpanel/Locale/Utils/DateTime.pm line 70.]
[TEXT]=[]
at cpanel.pl line 1126.
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/jupiter/ssl/csrs.html.tt", 1) called at cpanel.pl line 4647
cpanel::cpanel::run_standard_mode() called at cpanel.pl line 930
cpanel::cpanel::script("cpanel::cpanel", "./frontend/jupiter/ssl/csrs.html.tt") called at cpanel.pl line 326
Cause
This error can occur if the user's SSL database has become corrupted.
Resolution
- Log in to the server via SSH or WHM's Terminal as the
rootuser Rebuild the user's SSL database by running the following command:
# /scripts/rebuilduserssldb $user
Note: '$user' must be replaced with the cPanel username of the affected account.
Comments
0 comments
Article is closed for comments.