Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » testing webservice over SSL
testing webservice over SSL [message #150986] Wed, 07 December 2005 06:11 Go to next message
Eclipse UserFriend
Originally posted by: vpande.hotmail.com

Hi

I am using Eclipse WTP 1.0M9. I am using the Web Service Explorer to test
a remote web service exposed over https.

How do I configure eclipse to be able to do this.

I am thinking there should be a way in eclipse to be able to accept the
ssl certificate sent down by the server hosting the web service. I couldnt
find any way of doing this.


Currently I am getting an error...

IWAB0135E An unexpected error has occurred.
IOException
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target

Any help, pointers appreciated

thanks
vivek
Re: testing webservice over SSL [message #151000 is a reply to message #150986] Wed, 07 December 2005 08:47 Go to previous message
Eclipse UserFriend
Originally posted by: arbitrary77.gmx.net

> I am thinking there should be a way in eclipse to be able to accept the
> ssl certificate sent down by the server hosting the web service. I
> couldnt find any way of doing this.

From the exception you're getting, it looks like you should import your server certificate into the JRE's trusted certificate keystore.

1. go to JAVA_HOME\jre\lib\security
2. make a backup copy of the cacerts file
3. import your public server certificate like this:
keytool -import -keystore cacerts -alias myserver -file server.crt
(keystore password is "changeit")
Previous Topic:Error publishing project with long path
Next Topic:tutorials for 1.0
Goto Forum:
  


Current Time: Mon Sep 23 20:14:33 GMT 2024

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

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

Back to the top