AutoSSL gives perl error
AutoSSL is failing with one user, autossl log shows the following error lines
(real username changed to "user")
Then i went to cPanel and tried to create a CSR, and in the header i get the message "A warning occurred while processing this directive" and a yellow iframe with the following messages
This is not happening with other accounts i checked (didn't test all accounts, just a few and worked fine)
7:32:39 PM Checking websites for "user" "
7:32:39 PM WARN Use of uninitialized value in string comparison (cmp) at /usr/local/cpanel/Cpanel/WebVhosts.pm line 222.
7:32:39 PM WARN Use of uninitialized value $_ in index at /usr/local/cpanel/Cpanel/SSL/VhostCheck.pm line 69.
7:32:39 PM WARN Use of uninitialized value in list assignment at /usr/local/cpanel/Cpanel/SSL/VhostCheck.pm line 69.
7:32:39 PM WARN Use of uninitialized value in hash element at /usr/local/cpanel/Cpanel/SSL/VhostCheck.pm line 73.
7:32:39 PM WARN SSL userdata is missing "sslcertificatefile" entry for ""! at /usr/local/cpanel/Cpanel/SSL/VhostCheck.pm line 95. ...caught at bin/autossl_check.pl line 264.
7:32:39 PM The system has completed the AutoSSL check for "user".
Then i went to cPanel and tried to create a CSR, and in the header i get the message "A warning occurred while processing this directive" and a yellow iframe with the following messages
Use of uninitialized value in string comparison (cmp) at /usr/local/cpanel/Cpanel/WebVhosts.pm line 222.
at /usr/local/cpanel/Cpanel/WebVhosts.pm line 222.
Cpanel::WebVhosts::_return_domain_vhosts_list("-user-", CODE(0x63618f8)) called at /usr/local/cpanel/Cpanel/WebVhosts.pm line 149
Cpanel::WebVhosts::list_domains("-user-") called at /usr/local/cpanel/Cpanel/API/WebVhosts.pm line 16
Cpanel::API::WebVhosts::list_domains(Cpanel::Args=HASH(0x60c89d0), Cpanel::Result=HASH(0x60b9e20)) called at /usr/local/cpanel/Cpanel/API.pm line 287
Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 359
eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 359
Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x60b9e20), CODE(0x62118a8)) called at /usr/local/cpanel/Cpanel/API.pm line 287
Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x60c89d0), Cpanel::Result=HASH(0x60b9e20), "WebVhosts", "list_domains") called at /usr/local/cpanel/Cpanel/API.pm line 142
Cpanel::API::execute("WebVhosts", "list_domains", HASH(0x5aa4e38)) called at /usr/local/cpanel/base/frontend/paper_lantern/ssl/csrs.html.tt line 2
eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/ssl/csrs.html.tt line 2
eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/ssl/csrs.html.tt line 16
Template::Provider::__ANON__(Template::Context=HASH(0x5a0f818)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161
Template::Document::process(Template::Document=HASH(0x5aa49e8), Template::Context=HASH(0x5a0f818)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 351
eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321
Template::Context::process(Template::Context=HASH(0x5a0f818), Template::Document=HASH(0x5aa49e8)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
Template::Service::process(Template::Service=HASH(0x5a0f3b0), "/usr/local/cpanel/base/frontend/paper_lantern/ssl/csrs.html.tt", HASH(0x53d7338)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
Template::process(Template=HASH(0x4b560e0), "/usr/local/cpanel/base/frontend/paper_lantern/ssl/csrs.html.tt", HASH(0x53d7338), SCALAR(0x28dd810)) called at /usr/local/cpanel/Cpanel/Template.pm line 427
Cpanel::Template::process_template("cpanel", HASH(0x53d7338), HASH(0x4b1d518)) called at cpanel.pl line 1221
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/ssl/csrs.html.tt", 1) called at cpanel.pl line 5224
cpanel::cpanel::run_standard_mode() called at cpanel.pl line 847
cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/ssl/csrs.html.tt") called at cpanel.pl line 306
This is not happening with other accounts i checked (didn't test all accounts, just a few and worked fine)
-
Hello, Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
ticket opened with this issue 0 -
Hello, To update, the issue was related to invalid _SSL and _SSL.cache userdata files for the affected account in the /var/cpanel/userdata/$username/ directory. Moving these files out of the way allowed the AutoSSL process to complete successfully for this account. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments