Symptoms
Clicking "Browse Certificates" in "cPanel » SSL/TLS » Manage SSL Hosts" or running the whmapi1 listcrts
call for a user results in an error similar to either of the following.
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.
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
Description
This error can occur if the user's SSL database has become corrupted.
Workaround
- Access the server's command line as the 'root' user via "Terminal" in WHM or SSH.
- Rebuild the user's SSL database by running the following command.
/scripts/rebuilduserssldb $user
Please note, '$user' must be replaced with the cPanel username of the affected account.
Comments
0 comments
Article is closed for comments.