Giter VIP home page Giter VIP logo

mac-ca-vscode's Introduction

mac-ca-vs-code

Make all certificates in Keychain Access available to VS Code extensions

Feature

This is just a very simple extensions that use some codes from mac-ca and win-ca packages. It replaces tls.createSecureContext function with a custom function that load all certs from Keychain Access to the tls context. So self-signed certificates installed in the Keychain can be available to all VS Code extensions.

Installation

Install from here or open VS Code, hit Ctrl+Shift+X (Extensions pane), search for mac-ca-vscode and press Install.

Caveats

  • After installing, a restart is required for the changes to take effect.
  • Only works in MacOS, for other OS, it will do nothing.

Credits

mac-ca-vscode's People

Contributors

linhmtran168 avatar

Stargazers

Sebastian avatar Arbal avatar nekoify avatar Abhijeet Chopra avatar Mikhail Bondarenko avatar Spencer Jones avatar Johnny Huynh avatar Yevhen Laichenkov avatar Yung-Hang Chang avatar Takahiro Yamada avatar Victoria Farrell avatar Ron @ Premier, Inc avatar Alec Rust avatar Alex avatar Renato Batista avatar Johannes avatar  avatar Bai Chan Kheo avatar Oishi Takanori avatar Márcio Costa avatar Alisan Dagdelen avatar Thomas Johansen avatar Rob Aleck avatar Warlord avatar Miles Budden avatar Nathan Weddle avatar Yevgen Antymyrov avatar Michael Lawler avatar

Watchers

 avatar James Cloos avatar  avatar Ron @ Premier, Inc avatar

mac-ca-vscode's Issues

Github copilot suddenly stopped working after some time. With Error [RemoteAgents] Failed to load remote slash commands: jee: self signed certificate in certificate chain

This is the same error that was resolved by installing mac-ca originally. But it stopped working a week ago. Here is the diagnostics page in Copilot:

Copilot

  • Version: 1.202.932
  • Build: nightly
  • Editor: vscode/1.91.0-insider

Environment

  • http_proxy: n/a
  • https_proxy: n/a
  • no_proxy: n/a
  • SSL_CERT_FILE: n/a
  • SSL_CERT_DIR: n/a
  • OPENSSL_CONF: n/a

Feature Flags

  • Send Restricted Telemetry: enabled
  • Chat: enabled

Node setup

  • Number of root certificates: 141
  • Operating system: Darwin
  • Operating system version: 23.5.0
  • Operating system architecture: arm64
  • NODE_OPTIONS: n/a
  • NODE_EXTRA_CA_CERTS: n/a
  • NODE_TLS_REJECT_UNAUTHORIZED: n/a
  • tls default min version: TLSv1.2
  • tls default max version: TLSv1.3

Network Configuration

  • Proxy host: n/a
  • Proxy port: n/a
  • Kerberos SPN: n/a
  • Reject unauthorized: disabled
  • Fetcher: HelixFetcher

Reachability

  • github.com: HTTP 200
  • copilot-proxy.githubusercontent.com: HTTP 200
  • api.githubcopilot.com: HTTP 200
  • default.exp-tas.com: The pending stream has been canceled (caused by: self signed certificate in certificate chain)

VS Code Configuration

  • HTTP proxy:
  • HTTP proxy authentication: n/a
  • Proxy Strict SSL: false
  • Extension HTTP proxy support: override

Extensions

  • Is win-ca installed?: false
  • Is mac-ca installed?: true

Authentication

  • GitHub username:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.