You install GitHub Copilot, authenticate your enterprise account, start typing in your IDE, and wait for the ghost text to appear. Nothing happens. No completions, no suggestions, just a silent cursor and an editor that feels as dumb as notepad.
At 365Finds, we see this exact issue derail engineering teams every week. The root cause is almost never GitHub Copilot itself. It is your corporate network's security perimeter—specifically TLS/SSL inspection proxies, isolated runtime certificate stores, and buffered streaming connections.
Here is what breaks under the hood, how to diagnose the breakdown in under two minutes, and the precise steps to restore inline code completion without destroying your development environment's security posture.
What Actually Breaks Behind an Enterprise Proxy
Corporate firewalls and Secure Web Gateways (such as Zscaler, Palo Alto GlobalProtect, Blue Coat, or Cisco Umbrella) treat developer IDEs like standard web browsers. When your editor sends an HTTPS request to fetch a Copilot suggestion, the corporate proxy intercepts the encrypted session, terminates the TLS connection, inspects the payload, and re-encrypts the response using an internal, private corporate Certificate Authority (Root CA).
This creates three points of failure:
- Certificate Chain Rejection: Web browsers trust your corporate Root CA because your IT department pushes it into the Windows Certificate Store or macOS Keychain. But Visual Studio Code runs its extension host on Node.js/Electron, and JetBrains IDEs run on the Java Runtime Environment (JRE). Both runtimes historically rely on their own bundled trust stores rather than blindly reading OS trust stores. When Copilot receives a TLS certificate signed by an unknown internal issuer, Node.js throws
unable to verify the first certificateorself-signed certificate in certificate chainand terminates the connection immediately. - Streaming and WebSocket Buffering: GitHub Copilot relies on low-latency HTTP/1.1 chunked streaming (Server-Sent Events) and persistent WebSocket connections to stream inline completions token-by-token. Deep packet inspection appliances frequently buffer incoming responses until the entire stream closes. If a proxy buffers chunks, ghost text completions will not render in real time.
- Authentication and Proxy Scheme Incompatibilities: Many enterprise proxies demand NTLM or Kerberos authentication (returning
407 Proxy Authentication Required). Furthermore, configuring an editor proxy with anhttps://URL scheme frequently causes Copilot's internal proxy handler to fail, as it expects standardhttp://tunnel schemes.
Step 1: Pinpoint the Error in the Logs
Before changing any configuration, verify what failure your IDE is logging.
In Visual Studio Code
- Open the Command Palette (
Ctrl+Shift+Pon Windows/Linux,Cmd+Shift+Pon macOS). - Type and run:
Developer: Chat DiagnosticsorGitHub Copilot: Toggle Copilot Diagnostics. - Open the Output panel (
View>Output), and select GitHub Copilot or GitHub Copilot Chat from the dropdown menu. - Inspect the output. Look for one of these signature errors:
FetchError: self signed certificate in certificate chainFetchError: unable to verify the first certificate407 Proxy Authentication RequiredECONNRESETorETIMEDOUT
In JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm)
- Go to
Help>Show Log in Explorer(orFinderon macOS) to openidea.log. - Search for
com.github.copilotorSSLHandshakeException: PKIX path building failed.
If you see certificate errors, proceed to Step 2. If you see connection resets or 407 errors, proceed to Step 3.
Step 2: Fix the Certificate Trust (The Right Way)
The Dangerous Workaround You Should Avoid
In VS Code settings, you will find http.proxyStrictSSL. In JetBrains, there is a checkbox for Accept non-trusted certificates automatically.
Disabling SSL strict verification will almost certainly make Copilot start working instantly. 365Finds strongly advises against leaving this disabled. Turning off strict SSL disables certificate verification across your entire IDE process, leaving you wide open to machine-in-the-middle attacks when fetching npm packages, pip wheels, or editor extensions. Use this toggle solely as a 30-second sanity test to confirm certificate interception is the culprit, then re-enable it immediately.
The Correct Fix for Visual Studio Code
While recent versions of GitHub Copilot bundle native certificate extraction modules (win-ca on Windows, mac-ca on macOS), complex corporate certificate hierarchies with custom intermediate CAs still fail to resolve in the Node.js extension host.
The clean, robust solution is injecting your company's Root CA directly into the Node runtime via NODE_EXTRA_CA_CERTS:
- Export your corporate root and intermediate certificates in base64
.pemor.crtformat (ask IT, or export the root certificate from your browser when visiting an internal company intranet page). - Combine all necessary corporate certificates into a single file, for example:
C:\certs\corporate-ca.pemor/etc/ssl/certs/corporate-ca.pem. - Set the environment variable across your operating system:
- Windows: Open System Properties > Environment Variables. Under System Variables, click New. Variable name:
NODE_EXTRA_CA_CERTS, Variable value:C:\certs\corporate-ca.pem. - macOS / Linux: Add the following line to your shell profile (
~/.zshrc,~/.bashrc, or/etc/environment):export NODE_EXTRA_CA_CERTS="/etc/ssl/certs/corporate-ca.pem"
- Windows: Open System Properties > Environment Variables. Under System Variables, click New. Variable name:
- Completely terminate and restart VS Code (ensure all background
codehelper processes are terminated so the new environment variable is loaded).
The Correct Fix for JetBrains IDEs
JetBrains IDEs use their own Java Virtual Machine runtime (JBR). If JetBrains fails to trust your corporate root certificate:
- Navigate to Settings (
Ctrl+Alt+Son Windows/Linux,Cmd+,on macOS) > Tools > Server Certificates. - Under "Accepted certificates", click the + button and import your corporate
.crtor.pemfile. - If the IDE still refuses the connection, import the certificate directly into the JetBrains JRE keystore:
keytool -importcert -alias CorporateRootCA -keystore "<path_to_ide>/jbr/lib/security/cacerts" -storepass changeit -file "/path/to/corporate-ca.pem" - Restart your JetBrains IDE.
Step 3: Configure IDE Proxy and Handle NTLM / Kerberos
If your proxy requires authentication or your editor does not automatically detect system proxy settings:
Adjust VS Code Proxy Settings
- Open Settings (
Ctrl+,orCmd+,) and search forhttp.proxy. - Set
http.proxyto your corporate proxy URL:
Important: Do not prefix the proxy URL withhttp://proxy.yourcompany.com:8080https://. GitHub Copilot's proxy client expects standard HTTP CONNECT proxies. Setting an HTTPS proxy URL will cause internal connection negotiation errors. - If your proxy does not require NTLM authentication, you can pass credentials in the URL:
http://username:password@proxy.yourcompany.com:8080.
Authenticated Enterprise Proxies (NTLM / Kerberos)
If your corporate network uses NTLM or Kerberos single sign-on (SSO), Copilot and Node.js will fail with 407 Proxy Authentication Required because neither natively speaks NTLM handshake challenges.
The industry-standard solution for developers is running a lightweight local forwarding proxy on your machine, such as Px or Cntlm:
- Install
pxorcntlm. - Configure it to listen on
127.0.0.1:3128and forward traffic to your corporate upstream proxy using your Windows SSO / NTLM credentials. - Set VS Code
http.proxytohttp://127.0.0.1:3128.
Copilot talks to localhost unauthenticated, and the local daemon handles the corporate NTLM challenge seamlessly.
Step 4: The Strategic Fix — What 365Finds Recommends to Corporate IT
Fixing certificates and local forwarding proxies on every individual engineer's workstation is an operational tax that scales terribly. 365Finds strongly advocates that enterprise security architects implement TLS inspection bypass for GitHub Copilot endpoints.
Decrypting and re-encrypting AI code completion traffic makes zero technical sense for an enterprise:
- Copilot completion requests consist of high-entropy code tokens and streaming chunks. TLS inspection engines cannot inspect streaming tokens for data leakage in real time without buffering the stream, which destroys the sub-second latency required for inline autocompletion.
- Enterprise data governance is already enforced upstream by GitHub. GitHub Copilot Business and Enterprise tiers provide organizational contractual guarantees: corporate prompt code is never retained, logged, or used to train public foundation models.
Provide your corporate firewall and proxy administrators with the official GitHub Copilot egress allowlist, requesting that TLS inspection (SSL Decryption) be disabled for these domains:
| Domain | Port | Purpose |
|---|---|---|
github.com | 443 | Authentication and web session |
api.github.com | 443 | User account authorization and metadata |
api.githubcopilot.com | 443 | Copilot service orchestration |
copilot-proxy.githubusercontent.com | 443 | Real-time code completion backend proxy |
default.exp-tas.com | 443 | Configuration telemetry and feature flag sync |
Once your network proxy bypasses TLS inspection for these endpoints or your local environment properly trusts your internal Root CA via NODE_EXTRA_CA_CERTS, the Copilot status bar indicator will turn solid, and inline code suggestions will trigger immediately as you type.