fabric8-analytics-vscode-extension
fabric8-analytics-vscode-extension copied to clipboard
[BUG] request to https://exhort.stage.devshift.net/api/v4/analysis failed, reason: self signed certificate in certificate chain
Describe the bug Using this extension in VS Code on PC behind a corporate firewall with a simple Spring Boot java application I receive this error notification
request to https://exhort.stage.devshift.net/api/v4/analysis failed, reason: self signed certificate in certificate chain
Our proxy's certificate is added to the OS's trust chain (works fine for Chromium-based browsers etc).
I have installed VS Code win-ca extension which resolves firewall certificate problems for some VS Code features and extensions. For other Java-based VS Code extensions I am providing path to a custom cacerts file that also includes the proxy cert.
I can't find any documentation or solution as to how I can avoid this problem for Red Hat Dependency Analytics.
To Reproduce Steps to reproduce the behavior:
- In VS Code with Red Hat Dependency Analytics installed
- Opened a simple Maven Java Spring Boot project
- Waited for project to open
- Got the error notification above
Expected behavior The extension just accepts the proxy certificate because it is in the OS trust chain, or provides some mechanism for me to configure the proxy cert as trusted.
VSCode(please complete the following information):
- OS: Windows 10
- VSCode version 1.85.1
- Dependency Analytics Version 0.9.0
Additional context
I am trying to avoid using VS Code settings such as "http.proxyStrictSSL": false , but for the purpose of testing I did try that option and the extension still generates the same error.