Eclipse IDE application failing to work through WSS.
search cancel

Eclipse IDE application failing to work through WSS.

book

Article ID: 249184

calendar_today

Updated On:

Products

Cloud Secure Web Gateway - Cloud SWG

Issue/Introduction

The Eclipse IDE desktop application shows an error stating that it is unable to connect to the URL when accessed from WSS protected machines. 

Cause

The issue is due to the SSL certificate validation. When WSS intercepts SSL, it sends its own certificate chain back to the application but the application is expecting the website's actual certificate chain.

The WSS Cloud Root Certificate is not in the Eclipse store therefore the certificate validation fails.. 

Resolution

You can make the Eclipse IDE application to trust the Windows Root Certificate Authority Store (where you already have WSS root certificate) by following the steps below; 

  1. Locate the eclipse.ini file in your Eclipse installation folder and open it
  2. Below the line -vmargs, add the following lines, then save the file:
-Djavax.net.ssl.trustStore=NUL
-Djavax.net.ssl.trustStoreType=Windows-ROOT