You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Requests to servers using letsencrypt's new root certificate fail verifiction #134244
GET https://letsencrypt.org
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js:5
Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.onhandshakedone (_tls_wrap.js:706:12)
at TLSWrap.callbackTrampoline (internal/async_hooks.js:131:14)
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js:5
Reacted by Bo Jacobson, Leon Valkenborg, Rui Andrade, Daniel Alfaro, Gabriel Alencar, Leon Valkenborg, Mason McLead, xavluiz, Ben Mewburn, luboslav and 13 more
Same issue here with an extension that I have for private use. The request now fails indicating the certificate is expired, even though the certificate was renewed today and is valid for another 3 months. It started happening this afternoon after DST Root CA X3 expired.
The certificate shows as valid when browsing with Chrome, Firefox, Edge or on a smartphone.
The following error is thrown in the VS Code developer tools menu:
stack trace: Error: certificate has expired at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34) at TLSSocket.emit (events.js:315:20) at TLSSocket.EventEmitter.emit (domain.js:467:12) at TLSSocket._finishInit (_tls_wrap.js:932:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
As a workaround, you can set the "preferred chain" option on the server side to prefer the ISRG root. This fixed the issue for me and I can confirm my VSCode/Atom extensions work as before after the change. See more details in this comment: electron/electron#31212 (comment)
There are also other workarounds listed in the original issue comments.
Robo (@deepak1556) is it planned to backport the fix to the previous versions (before the upcoming September release) to prevent extensions from breaking on older VS Code versions? When is September release due?
The current fix is targeted for the September release which is due sometime next week and nightly insiders. I will see if we can also make a recovery release for the current stable.
You then need to reissue your certificates. This can be done with the plugin they provide or just delete the associated secret. You may then need to restart your ingress so that it picks up the new certificate.
Activity
pbstriker38 commentedon Sep 30, 2021
This might be related
electron/electron#31213
leon-v commentedon Sep 30, 2021
Likely the same issue: #134245
AlencarGabriel commentedon Sep 30, 2021
For those who use GOT this may be a temporary solution, until the VSCode update comes out: sindresorhus/got#1148
randrade23 commentedon Sep 30, 2021
Same issue here with an extension that I have for private use. The request now fails indicating the certificate is expired, even though the certificate was renewed today and is valid for another 3 months. It started happening this afternoon after DST Root CA X3 expired.
The certificate shows as valid when browsing with Chrome, Firefox, Edge or on a smartphone.
The following error is thrown in the VS Code developer tools menu:
stack trace: Error: certificate has expired at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34) at TLSSocket.emit (events.js:315:20) at TLSSocket.EventEmitter.emit (domain.js:467:12) at TLSSocket._finishInit (_tls_wrap.js:932:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)Nicd commentedon Oct 1, 2021
This is caused by electron/electron#31212 in Electron.
As a workaround, you can set the "preferred chain" option on the server side to prefer the ISRG root. This fixed the issue for me and I can confirm my VSCode/Atom extensions work as before after the change. See more details in this comment: electron/electron#31212 (comment)
There are also other workarounds listed in the original issue comments.
michelkaporin commentedon Oct 1, 2021
Robo (@deepak1556) is it planned to backport the fix to the previous versions (before the upcoming September release) to prevent extensions from breaking on older VS Code versions? When is September release due?
deepak1556 commentedon Oct 1, 2021
The current fix is targeted for the September release which is due sometime next week and nightly insiders. I will see if we can also make a recovery release for the current stable.
pbstriker38 commentedon Oct 1, 2021
If anyone is using cert-manager on kubernetes, you can update your Issuer manifest to use the
preferredChainto fix this issue server side.https://cert-manager.io/docs/configuration/acme/#use-an-alternative-certificate-chain
You then need to reissue your certificates. This can be done with the plugin they provide or just delete the associated secret. You may then need to restart your ingress so that it picks up the new certificate.
pcj commentedon Oct 19, 2021
Thanks Daniel Alfaro (@pbstriker38) that worked!
AlencarGabriel commentedon Nov 9, 2021
This issue reoccurred in version 1.62.1.
Downgrade communication protocol with the backend to HTTP
chore: bump [email protected]