Symptoms
- A paid 1-year SSL certificate purchased from the cPanel Store expires after approximately 199 days without being automatically reissued for the remaining term of the purchase.
-
Running
/usr/local/cpanel/bin/process_ssl_reissuecompletes without errors but initiates no reissues:CONFIG_TEXT: info [process_ssl_reissue] Re-issue scan complete: N users, 0 re-issues initiated, 0 errors
-
The
uapi Market get_pending_ssl_certificatescall returns an empty data array:CONFIG_TEXT: uapi --user=USERNAME Market get_pending_ssl_certificates provider='cPStore'
data: [] -
~USERNAME/.cpanel/ssl/pending_queue.jsonis empty ({}). - The domain may be serving a Let's Encrypt certificate installed as a temporary workaround.
- After manually initiating a reissue, the cPanel SSL/TLS interface may briefly show the certificate as found, then install the original expired certificate rather than the newly reissued one.
Cause
Starting March 12, 2026, Sectigo began enforcing a 199-day maximum TLS certificate validity period. Customers who purchased 1-year certificates are entitled to a second issuance covering the remaining term. This reissuance is handled by the cPanel Store and is separate from the process_ssl_reissue script, which is designed for 90-day certificates only and does not process 1-year certificates.
For certificates ordered before March 12, 2026, the cPanel Store did not include the parent_cert_expiry field in the order poll response for EV/OV products. Without this field, the value is never written to the account's SSL storage (ssl.db), and the reissue process skips the certificate. Additionally, the Store's reissue API contained bugs when handling pre-March-2026 EV/OV order records.
A separate cPanel & WHM bug, CPANEL-57864, was identified in the SSL pending-queue poller (Cpanel::SSL::PendingQueue::Run): when the Store returns a certificate PEM for a reissued certificate ID, the poller does not verify that the PEM's public key matches the CSR generated for the reissue, nor that the certificate is not already expired. If the Store returns the old certificate's PEM, the poller installs it, discards the new private key, and removes the queue item without error.
Resolution
Note: Please contact cPanel Technical Support to have SSL certificates impacted by this issue manually reissued and installed.
This issue requires L3 or Dev involvement. Do not attempt the manual one-liner without confirming the Store-side fixes are deployed and coordinating with the dev team.
Store-side fixes for EV/OV reissue API calls were deployed in October 2026. To confirm the fix is in place before proceeding, coordinate via the dev team (reference the Slack thread linked in the ticket).
- Connect to the server via SSH.
-
Confirm the expired certificate is still in SSL storage with
originating_certificate_idset:# uapi --user="$(scripts/whoowns DOMAIN)" SSL list_certs --output=jsonpretty
Check that the Sectigo certificate entry includes both
"originating_certificate_id"and"order_item_id". Iforiginating_certificate_idis absent, the reissue cannot be initiated from the server — the order metadata is missing. Escalate to the Store team. -
Obtain the
originating_certificate_idvalue (fromSSL list_certs) and the original 1-year expiry date from the Manage2 order record. Then run the following to initiate the reissue manually:Note: Replace
USERNAMEwith the cPanel account that owns the domain,ORIGINATING_CERT_IDwith theoriginating_certificate_idvalue fromSSL list_certs, andPARENT_CERT_EXPIRYwith the 1-year expiry date from the Manage2 order (format:YYYY-MM-DD HH:MM:SSZ)./usr/local/cpanel/3rdparty/bin/perl -MCpanel::SSL::Reissue -MCpanel::SSLStorage::User -e ' my ($user, $orig, $pce) = @ARGV; my ($ok, $certs) = Cpanel::SSLStorage::User->new(user => $user)->find_certificates(originating_certificate_id => $orig); $ok or die "$certs\n"; my ($cert) = sort { $b->{not_after} <=> $a->{not_after} } @$certs or die "No stored certificate with originating_certificate_id $orig\n"; die "A re-issue is already pending for $orig\n" if Cpanel::SSL::Reissue::is_reissue_already_pending($user, $orig); $cert->{parent_cert_expiry} //= $pce; print "Re-issue initiated; new certificate_id: ", Cpanel::SSL::Reissue::_initiate_reissue($user, $cert), "\n"; ' "USERNAME" ORIGINATING_CERT_ID 'PARENT_CERT_EXPIRY'Expected output on success:
Re-issue initiated; new certificate_id: XXXXXXXXXX- One thing that can also happen is that the poller will install the certificate before you can even see that it was in a pending state. When that happens, check the cPanel error_log for the entry "[cpwrapd] Market::SSLWebInstall Notification", which means it has already tried to install the certificate. Next, look at the certificate in list_certs again and the installed one in domain_tls to see if it matches the reissued cert order. Just to double-check and be sure before letting the customer know it has been reissued and installed successfully.
- Due to CPANEL-57864 (open), the pending-queue poller may install the original expired certificate rather than the newly reissued one. After the reissue is initiated, monitor the pending queue and verify which certificate is installed once the poller runs. If the expired certificate is reinstalled, restore Let's Encrypt for the domain via AutoSSL to keep the site secure while CPANEL-57864 is resolved.
The Store-side fixes for this scenario were deployed in October 2026. The install-side issue is tracked under cPanel & WHM bug CPANEL-57864. This will be fixed in a future version of cPanel & WHM.
Comments
0 comments
Please sign in to leave a comment.