cPanel AutoSSL feature is great, but sometime can run into issues. Once in a while, you may have some certificate requests pending forever without any particular reason.
This usually can be fixed by clearing the queue and force AutoSSL to run for the stuck domain again.
1. Move the AutoSSL database file under a different name:
mv /var/cpanel/autossl_queue_cpanel.sqlite /var/cpanel/autossl_queue_cpanel.sqlite.bak
2. Go to the AutoSSL option in WHM;
WHM > SSL/TLS > Manage AutoSSL
2.1. Click on the Pending Queue tab (there should no longer be anything waiting to be processed since the action performed in step #1);
3. Click on Manage Users tab and select the user that had the previous issue and then click on the Run AutoSSL Check for that user;
3.1. You can click on the Pending Queue tab again to follow the progression.
(You can safely delete “/var/cpanel/autossl_queue_cpanel.sqlite.bak” once the issue is resolved.)