SSL Cert available but installation fails
Certificate installation fails through both manual and AutoSSL methods.
When running AutoSSL with either cPanel/Comodo or Let's Encrypt I get the errors below. Note at the end of each log there is an error similar to
...but showing different files. I get a similar error when trying to install the Cert manually. cPanel/Comodo log:
Let's Encrypt log:
cPanel otherwise seems to be working fine. Only thing I can find that is even slightly similar is this thread: At this point I am unable to renew or install any Certs at all. I would be grateful for any help in resolving this issue. /etc/redhat-release:CentOS Linux release 7.6.1810 (Core) /usr/local/cpanel/version:11.76.0.12 /var/cpanel/envtype:kvm CPANEL=release
WARN Can't use string (""...) as a HASH ref while "strict refs" in use at
...but showing different files. I get a similar error when trying to install the Cert manually. cPanel/Comodo log:
12:17:01 AM Polling for "user""s new certificate for "site.com" (order item ID "******") "
12:17:03 AM The certificate is available. The system will now attempt to install it.
WARN Can't use string (""...) as a HASH ref while "strict refs" in use at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1117. ...caught at bin/autossl_check_cpstore_queue.pl line 454.Let's Encrypt log:
3:09:44 PM Analyzing site.com""s DCV results "
3:09:44 PM A CAA record for this provider is already in the DNS for site.com.
3:09:53 PM "Let"s Encrypt"" HTTP DCV OK: www.site.com
"Let"s Encrypt"" HTTP DCV OK: site.com
AutoSSL will request a new certificate.
3:09:53 PM The system will attempt to renew the SSL certificate for the website (site.com: site.com www.site.com).
3:09:54 PM WARN Can't use string (""...) as a HASH ref while "strict refs" in use at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1117.
3:09:54 PM The system has completed the AutoSSL check for "user".
cPanel otherwise seems to be working fine. Only thing I can find that is even slightly similar is this thread: At this point I am unable to renew or install any Certs at all. I would be grateful for any help in resolving this issue. /etc/redhat-release:CentOS Linux release 7.6.1810 (Core) /usr/local/cpanel/version:11.76.0.12 /var/cpanel/envtype:kvm CPANEL=release
-
After various troubleshooting steps, this has now been resolved. I'll leave our steps here so hopefully someone else will benefit from it. The issue seems to stem from a lock file in /home//ssl/. Unfortunately removing the lock file didn't do the trick, so I renamed the /home//ssl folder to /home//ssl.old. Upon the next poll of the AutoSSL check, it re-created the folder, added the files that were needed and installed the certificate as normal. It seems that this may have originated from bad file permissions due to a cPanel migration. 0
Please sign in to leave a comment.
Comments
2 comments