Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self signed certificate in certificate chain #2476

Closed
virnacabaguing1007 opened this issue May 5, 2023 · 4 comments
Closed

self signed certificate in certificate chain #2476

virnacabaguing1007 opened this issue May 5, 2023 · 4 comments
Labels
info-needed See https://aka.ms/azcodeissuereporting

Comments

@virnacabaguing1007
Copy link

Does this occur consistently?
Repro steps:

  1. Selec app services
  2. deploy to web app

Action: appService.Deploy
Error type: SELF_SIGNED_CERT_IN_CHAIN
Error Message: self signed certificate in certificate chain

Version: 0.24.8
OS: win32
OS Release: 10.0.22000
Product: Visual Studio Code
Product Version: 1.78.0
Language: en

Call Stack
ClientRequest.<anonymous> extension.bundle.js:2:1631436
@alexweininger
Copy link
Member

alexweininger commented May 9, 2023

Another user posted a workaround for the self signed certificate in certificate chain issue on Windows.

Install the win-ca extension, which makes Trusted Root Certificates on Windows available to VSCode extensions.

Let us know if this workaround fixes your issue.

@alexweininger alexweininger added the info-needed See https://aka.ms/azcodeissuereporting label May 9, 2023
@alexweininger
Copy link
Member

A change released in the VS Code 1.78 April release breaks loading OS certificates on Windows. Meaning self-signed certificates and CA certificates picked up from a network proxy are currently broken. See microsoft/vscode#181404 for more details.

It looks like VS Code is planning to include a fix in the 1.78.2 release (April recovery 2).

Until that is released, you can downgrade to VS Code version 1.77. Also, other users have had success installing the win-ca extension, which makes Trusted Root Certificates on Windows available to VS Code extensions.

Another workaround if your CA certificate is provided by a network proxy is to configure the proxy related settings in VS Code.

@alexweininger
Copy link
Member

VS Code just released version 1.78.2 which should fix the certificates issue, could you please update VS Code and retry the operation?

@AzCode-Bot
Copy link
Collaborator

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@AzCode-Bot AzCode-Bot closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2023
@microsoft microsoft locked and limited conversation to collaborators Jul 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed See https://aka.ms/azcodeissuereporting
Projects
None yet
Development

No branches or pull requests

3 participants