Skip to content

Extension that runs a request to a server that has a Let's Encrypt CA stopped working #134245

Closed

Description

Does this issue occur when all extensions are disabled?: No

  • VS Code Version: 1.60.2
  • OS Version: Windows 10 21H1

Steps to Reproduce:

  1. Install an extension that runs a request to a server protected by a Let's Encrypt CA
  2. 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)

Possibly related issue: electron/electron#31212
Relevant PR: electron/electron#31213

Activity

  1. AlencarGabriel commented on Sep 30, 2021

    @AlencarGabriel

    For those who use GOT this may be a temporary solution, until the VSCode update comes out: sindresorhus/got#1148

  2. randrade23 commented on Sep 30, 2021

    @randrade23
    Author

    Closing as already reported in #134244 .

  3. AlencarGabriel commented on Nov 9, 2021

    @AlencarGabriel

    This issue reoccurred in version 1.62.1.

  4. locked and limited conversation to collaborators on Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions