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
Extension that runs a request to a server that has a Let's Encrypt CA stopped working #134245
Does this issue occur when all extensions are disabled?: No
VS Code Version: 1.60.2
OS Version: Windows 10 21H1
Steps to Reproduce:
Install an extension that runs a request to a server protected by a Let's Encrypt CA
An error is thrown in the VS Code developer tools indicating the certificate is expired, when it is not
I have an extension (for private use, under an NDA, so I cannot share its code) that runs a request, using axios, to a server which has HTTPS and uses a Let's Encrypt CA.
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)
Activity
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
Closing as already reported in #134244 .
AlencarGabriel commentedon Nov 9, 2021
This issue reoccurred in version 1.62.1.