ISRG Root X1 Certificate not trusted
Hi,
for some reasons, Nextcloud Desktop started throwing errors today about being unable to securely connect to my server that uses a valid Let's Encrypt certificate signed by R3 (intermediate) and ISRG Root X1 (root certificate).
Visiting Nextcloud via Browsers (Firefox, Edge, Internet Explorer) all works on the same PC. On a different PC, the issue resolved itself after updating to Nextcloud Desktop 3.3.5, but on this PC that did not help.
I am aware of Let's Encrypt switching to a new root CA: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ The errors started showing up today, after the previously used cross signed intermediate/root expired: https://letsencrypt.org/certificates/
The problem seems to be, that the certificate of the issuer DST Root CA X3 expired and therefore the certificate ISRG Root X1 can't be validated, even though it should be trusted on its own.
ISRG Root X1: https://crt.sh/?id=3958242236 DST Root CA X3: https://crt.sh/?id=8395 (expired September 30)
Solution:
- Open this link (or any other website with a valid Let's Encrypt certificate in MS Edge or Internet Explorer: https://valid-isrgrootx1.letsencrypt.org/ (This updates the Microsoft Certificate Store)
- Restart Nextcloud Desktop
See: https://github.com/nextcloud/desktop/issues/3858#issuecomment-932205965
Client configuration
Client version: 3.3.3, 3.3.4, 3.3.5 All three versions show this error
Operating system: Windows 10
OS language: German
Full error message (sorry, German only):
Kann keine sichere Verbindung zu **** herstellen:
Das Zertifikat des Ausstellers eines lokal gefundenen Zertifikats konnte nicht gefunden werden
mit Zertifikat ISRG Root X1
Organisation: Internet Security Research Group
Einheit: <nicht angegeben>
Land: US
Fingerabdruck (SHA-256): 6d:99:fb:26:5e:b1:c5:b3:74:47:65:fc:bc:64:8f:3c:d8:e1:bf:fa:fd:c4:c2:f9:9b:9d:47:cf:7f:f1:c2:4f
Fingerabdruck (SHA-512): 7a:dc:2b:5f:11:e5:d1:2d:f7:ad:b6:ce:e9:5e:04:f7:ec:a7:14:40:4b:ff:58:84:9a:36:0b:91:0f:3a:fb:dc:37:23:5c:dd:99:e3:3b:4e:82:ef:ee:e1:6d:59:85:73:a4:e3:46:e0:a6:bd:c4:1f:70:b3:60:3c:6f:43:24:fa
Datum des Inkrafttretens: Mi Jan 20 19:14:03 2021 GMT
Ablaufdatum: Mo Sep 30 18:14:03 2024 GMT
Aussteller: DST Root CA X3
Organisation: Digital Signature Trust Co.
Einheit:
Land:
Happening here as well (also german Windows 10 Systems). Version 2.6.2stable-Win64 (build 20191224) and 3.2.3 seem unaffected.
Ich have the same issue. Only with the nextcloud client. I use the certificate in Browsers, Mail Clients, FTP Servers with no issues. But Nextcloud client prints this warning.

My Workaround is to remove the old DST Root CA X3 Certificate from the Chain (WARNING: This breaks the compatibility with older client see here for more details: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ )
If you use acme.sh you can re issue the certificate with the --preferes-chain "ISRG Root X1" argument. See here: https://github.com/acmesh-official/acme.sh/wiki/Preferred-Chain
Example
acme.sh --issue -d nextcloud.com --preferred-chain "ISRG Root X1" --force --server letsencrypt
On my windows machines, I see the same problem. Interestingly, on my Ubuntu desktop with Nextcloud Client 3.3.4 it still works.
Same here. My workaround - after verifying the fingerprint - was to trust the certificate anyway (needs to be done for every client installation and for every linked account therein separately).
SHA256-Fingerprint of the cross signed certificate can be done as follows:
$ curl https://letsencrypt.org/certs/isrg-root-x1-cross-signed.pem | openssl x509 -in - -noout -sha256 -fingerprint
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1955 100 1955 0 0 7548 0 --:--:-- --:--:-- --:--:-- 7548
SHA256 Fingerprint=6D:99:FB:26:5E:B1:C5:B3:74:47:65:FC:BC:64:8F:3C:D8:E1:BF:FA:FD:C4:C2:F9:9B:9D:47:CF:7F:F1:C2:4F
I have the same problem on my Windows machine with client version 3.3.4 and we don't even use Let's Encrypt on our server installation. We have a valid DigiCert wildcard certificate for our domain. Access via browser works fine with that certificate.
I also found a workaround for an older version (2.x.y-ish) of the desktop client in the german help forum (see https://help.nextcloud.com/t/ungultiges-zertifikat-nextcloud-client/45327) describing the exact same problem with another certificate that broke. Workaround: Once the error pops up simply close the app and restart it, then it doesn't bother with the broken cert and works fine.
The workaround did the trick for me this morning, so may be the bug is also related to a similar problem like the one in 2019?
Same here.
Since yesterday, my NextCloud client (3.3.4) on Windows 10 display an error regarding my (Let's Encrypt) certificate.
I tried to force renew the certificate, reboot the server (Debian 9), install the last updates... but nothing works.
In the meantime, the web UI of NextCloud works without warning and so for the Android app.
on the website, there is now an new version 3.3.5 which seems to fix the issue
This only fixed the issue on one PC for me, on the other I still get the error...
Updating to 3.3.5 didn't fix the issue for me.
Issue seems only to appear on windows clients.
Just to let you know. We are working on a fix for that.
This also breaks the auto updater. The domain "updates.nextcloud.org" is also signed using an LE certificate rooted in ISRG Root X1. You won't be able to push the update to affected Windows users, unless you temporarily switch to another trusted certificate on at least the domain "updates.nextcloud.org"
The people having problems, do you have the ISRG Root X1 certificate installed in your certificate store on Windows? You can find out if you type certmgr into the Windows search and then open the folder "Trusted Root Certification Authorities" -> Certificates and then look after the ISRG Root X1 certificate.
Yes.
I don't have a trusted root CA named "ISRG Root X1" (or anything with ISRG for that matter) in my trusted root CAs, but I have the same problem with the nextcloud client.
This certificate, however, is there in Firefox. Might this have any influence?
I don't have a trusted root CA named "ISRG Root X1" (or anything with ISRG for that matter) in my trusted root CAs, but I have the same problem with the nextcloud client.
This certificate, however, is there in Firefox. Might this have any influence?
Firefox ships with its own certificate storage. The Windows system store isn't used by Firefox.
I had the problem but it is gone now after installing Windows updates.
However I think I can tell what changed so maybe this is helpful:
- Previously in
certmgr.msc(like 1h ago) I did not see "ISRG Root X1" in "Trusted Root Certification Authorities" but only in "Drittanbieter-Stammzertifizierungsstellen" ("Third-party Root Certification Authorities"?). - I could access web sites with Let's Encrypt just fine even with Microsoft Edge.
- Then I installed
KB5005539andKB5005611, rebooted - "ISRG Root X1" is now present in "Trusted Root Certification Authorities", NextCloud does not show errors anymore :-)
That seems to solve the issue here, too.
Yes, you're right. It's suddenly fixed now without even restarting Windows. If it was a Windows update, then it was applied automatically in background for me. I do have "ISRG Root X1" in "Trusted Root Certification Authorities" now. I don't know if it was there before.
Edit: I did need to restart the Nextcloud Client though.