testing webservice over SSL [message #150986] |
Wed, 07 December 2005 06:11 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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")
|
|
|
Powered by
FUDForum. Page generated in 0.02764 seconds