Friday, January 13, 2006

Eclipse WTP and SSL certificates

Using Web Services Explorer is a very good tool to test web services during development. However, if you want to test a web services that uses a secure server, Web Services Explorer still does not provide an extensive support for that, like what happens with regular web browsers. You will probably have this error:

IWAB0135E An unexpected error has occurred.
IOException PKIX path building failed: unable to find valid certification path to requested target

To solve it, it is necessary to import the server certificate into your $JAVA_HOME/jre/lib/security/cacerts file. To do that, make a backup of this file and use the Java keytool. Here has a better description of how to use it.
Post a Comment