In Progress [CPANEL-33077] Letsencrypt transition to ISRG’s Root (Important!!!!!)

eva2000

Well-Known Member
Aug 14, 2001
346
19
318
Brisbane, Australia
cPanel Access Level
Root Administrator
Twitter
That's part of the reason we're encouraging people to wait for an official fix - we're getting some reports of AutoSSL not properly replacing certificates, maybe due to ratelimiting, or maybe due to other issues.
Might be a good idea to add a 3rd CA provider like ZeroSSL. For my own usage switching from Letsencrypt to ZeroSSL via acme.sh client was painless.
 
  • Like
Reactions: Kent Brockman

cPanelBrianK

Technical Analyst III
Staff member
Sep 5, 2018
23
11
78
Houston
cPanel Access Level
Root Administrator
Update - The second patch has completed testing and has been released to resolve this issue. This will automatically be applied when the next cPanel update occurs. You can manually initiate an update or use the autorepair command below to apply this immediately.

Code:
/scripts/autorepair update_lets_encrypt_cabundles
 

SupraMario

Active Member
Mar 28, 2006
36
6
158
Executed this script and it picked up a few accounts that I had missed. Which is good except for the one wildcard account where I deleted their ssl to try 'build it again' :( doh and letsencrypt wont let me grab new one
 

MindServer

Well-Known Member
Mar 18, 2020
241
32
28
Spain
cPanel Access Level
Root Administrator
Update - The second patch has completed testing and has been released to resolve this issue. This will automatically be applied when the next cPanel update occurs. You can manually initiate an update or use the autorepair command below to apply this immediately.

Code:
/scripts/autorepair update_lets_encrypt_cabundles
Hi,

Anybody can confirm us that this patch works correctly and solve the problem?.

Thank you very much.
 

did-vmonroig

Well-Known Member
Feb 6, 2012
69
5
58
cPanel Access Level
Root Administrator
Hi,

Anybody can confirm us that this patch works correctly and solve the problem?.

Thank you very much.
In our end it's working properly. Some accounts were switched to Sectigo, but others not, as Sectigo seems to be too busy. After applying script, returning to Let's Encrypt and run AutoSSL for all users, remaining accounts seems to be SSL protected again.

BTW, affected server is a cPanel v86 with CentOS 6.
 

Solokron

Well-Known Member
Aug 8, 2003
852
2
168
Seattle
cPanel Access Level
DataCenter Provider
I just ran the update on a batch of 20 servers with no problems.
 
  • Like
Reactions: eva2000

PhxChris

Registered
Mar 22, 2020
3
0
1
sA8niduUMWcxerHIs
cPanel Access Level
Root Administrator
Patch seems to be working. Now running into Lets Encrypt rate limits ( 429, Too Many Requests) when getting a nonce. May be due to living in a cPanel heavy server farm and running into the " 500 Accounts per IP Range within an IPv6 /48 per 3 hours" limit. See what happens over the next few hours.
 

stormy

Well-Known Member
Nov 22, 2003
222
42
178
Spain
cPanel Access Level
Root Administrator
I run the script succesfully. The SSL tests I can run confirm the problem is fixed. However, I have customers using Apple Mail that still get the certificate warning after the fix. I've told them to restart mail, restart the computer, all to no avail. Any ideas?
 
Last edited:

mitchkill

Member
Dec 26, 2008
10
1
53
After I ran the fix recommended by cPanel, I had to update the SSL certificates for each of the domain names as someone recommended above. (WHM->List Accounts->Choose an account->SSL/TLS->Manage SSL Sites->Update Certificate->Autofill by Domain->Install Certificate) Once I did that, Dovecot and Exim started to show the proper common names for the domain names. (If you need to check your certificates for a particular port, let me recommend https://www.sslshopper.com/ssl-checker.html. You can add a port to the end of your domain name [e.g. mail.example.com:993] to test certificates for other services)
 
  • Like
Reactions: eva2000

TheFaSt

Registered
Feb 3, 2004
2
0
151
For us the fix worked but the exim SNI seems not to be serving the certificates and we get the server certificate. I already opened a ticket with cPanel support but don't know if and when they will reply, anyone having a fix for that?
 

toothlessparrot

Registered
Oct 15, 2017
2
0
1
UK
cPanel Access Level
Root Administrator
In our end it's working properly. Some accounts were switched to Sectigo, but others not, as Sectigo seems to be too busy. After applying script, returning to Let's Encrypt and run AutoSSL for all users, remaining accounts seems to be SSL protected again.

BTW, affected server is a cPanel v86 with CentOS 6.
I am running the same, but for some reason the script didn't seem to do anything for me - an AutoSSL run still returns errors:

9:48:15 AM ERROR TLS Status: Defective
Certificate expiry: 12/30/21, 7:07 AM UTC (89.93 days from now)
ERROR Defect: OPENSSL_VERIFY: The certificate chain failed OpenSSL’s verification (0:10:CERT_HAS_EXPIRED).
ERROR Defect: OPENSSL_VERIFY: The certificate chain failed OpenSSL’s verification (1:10:CERT_HAS_EXPIRED).
ERROR Defect: OPENSSL_VERIFY: The certificate chain failed OpenSSL’s verification (2:10:CERT_HAS_EXPIRED).
ERROR Defect: OPENSSL_VERIFY: The certificate chain failed OpenSSL’s verification (3:10:CERT_HAS_EXPIRED).

Manually reinstalling the certificates as suggested does get things working again, but not an ideal fix when there's 70+ accounts to deal with
 

monarobase

Well-Known Member
PartnerNOC
Jan 26, 2010
529
21
68
France
cPanel Access Level
Root Administrator
Thanks ! That command seems to have fixed everything for all of our customers. The official instructions about this suggest that you should first backup /etc/dovecot/sni.conf before running those commands:

 
  • Like
Reactions: eva2000

cPanelBrianK

Technical Analyst III
Staff member
Sep 5, 2018
23
11
78
Houston
cPanel Access Level
Root Administrator
The fix released is expected to perform a re-install for existing certificates that were issued by Let's encrypt. If you are seeing continued issues like the SNI not being rebuilt or the certificates not passing validation checks through Apache due to this same error, please open a support request so that we can review any possible conflicts with the autorepair task performing as expected.
 
  • Like
Reactions: eva2000

dandadude

Well-Known Member
Apr 14, 2011
57
1
58
I have done the original working patch that was recommended but still have common name problems with mail clients.

For me neither
1. /scripts/build_mail_sni --rebuild_dovecot_sni_conf && /scripts/build_mail_sni --restartsrvs
neither
2. WHM->List Accounts->Choose an account->SSL/TLS->Manage SSL Sites->Update Certificate->Autofill by Domain->Install Certificate
solves the issue, the common name is still the main server hostname and thus giving problems with mail clients.

Does anyone have a working fix? I have ran update several times, autossl for all users several times.