VS Code Extension Installation Error: SSL Handshake Failure During ACE Activation

Issue Summary

When installing the CodeScene Visual Studio Code extension, you may encounter the following error during the ACE activation phase:

 

Unable to enable refactoring capabilities. javax.net.ssl.SSLHandshakeException: '(certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target'

Root Cause

This error is typically caused by SSL inspection in your organization's network. Solutions like ZScaler or other MITM proxy tools may intercept or alter the secure connection to api.codescene.io, resulting in a failed SSL handshake.

Recommended Solution

To resolve this issue:

  1. Add api.codescene.io to your network’s SSL inspection bypass list (e.g., in your ZScaler configuration).

  2. Ensure that traffic to api.codescene.io is not intercepted or modified by your proxy or firewall.

This allows a direct and trusted connection, enabling ACE to activate as expected.