Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » SSL through RCP application
icon8.gif  SSL through RCP application [message #777472] Tue, 10 January 2012 15:12
paul berzatti is currently offline paul berzattiFriend
Messages: 3
Registered: January 2012
Junior Member
I have an rcp application that connects to a webservice through ssl.
If I set the truststore path as a VM argument it works fine.\paul\certificates\trust.jks

However, in my context, the truststore path is known only at runtime and set in the code using:

String path = "C:\\some\\path\\trust.jks";
System.setProperty("", path)

The latter approach doesn't work. I am getting the following error:

Exception in thread "main" Failed to access the WSDL at: // It failed with: PKIX path building failed: unable to find valid certification path to requested target.

It can't be a certificate problem as I tested the trust.jks file and it works fine from a normal java class but not from an eclipse plugin.

Any idea why the behavior is different? It seems in a RCP application setting system properties is done differently or not possible.

Thanks for your help.

[Updated on: Tue, 10 January 2012 15:14]

Report message to a moderator

Previous Topic:How do I get a menu item to refresh?
Next Topic:Row index concept
Goto Forum:

Current Time: Sun Oct 23 06:25:58 GMT 2016

Powered by FUDForum. Page generated in 0.01645 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software