Skip to content

[Bug]: SQL Tools service install - Request error: CERT_HAS_EXPIRED #20884

@gveerar

Description

@gveerar

Description

Getting the following error while trying to create a connection after installing mssql extension in Mac:
[4:07:39 PM] [SQL Tools Service] Initializing SQL tools service for the mssql extension.
[4:07:39 PM] [SQL Tools Service] Note: mssql commands will be available after installing the service.
[4:07:39 PM] [SQL Tools Service]
[4:07:39 PM] [SQL Tools Service] Platform: darwin, x86_64 (OSX)
[4:07:39 PM] [SQL Tools Service]
[4:07:39 PM] [SQL Tools Service] Installing SQL tools service to /Users/vgopalakrishnan/.vscode/extensions/ms-mssql.mssql-1.38.0/sqltoolsservice/5.0.20251205.1/OSX.
[4:07:39 PM] [SQL Tools Service] Downloading https://github.com/Microsoft/sqltoolsservice/releases/download/5.0.20251205.1/microsoft.sqltools.servicelayer-osx-x64-net8.0.tar.gz
[4:07:40 PM] [SQL Tools Service] [ERROR] Error: Request error: CERT_HAS_EXPIRED

Image

Steps to Reproduce

  1. Installed the mssql extension
  2. Create a new db connection

Affected Area

  • Connection dialog (SQL Server | Azure browse/Fabric browse)
  • Query editor
  • Query results panel
  • Object Explorer
  • GitHub Copilot integration
  • Preview/Edit data
  • Table Designer
  • Schema Designer
  • Schema Compare
  • Local SQL Server Container provisioning
  • SQL database in Fabric provisioning
  • DACPAC/BACPAC export/import
  • SQL Database projects
  • Query Plan Visualizer
  • Other (please describe below)

If you selected "Other", please describe the affected area

No response

Environment Information

VS Code Version: 1.107.1
MSSQL version: 1.38.0
Operating system: macos Sonoma 14.7.2

Confirmation

  • I have searched existing issues and couldn't find a match
  • I want to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions