wiki:WikiEditorForEclipsePlugin/FAQ

Version 3 (modified by Ivan, 15 years ago) (diff)

SSLHandShakeException trace

Wiki Editor For Eclipse ~ FAQ

These are answers to common situations using WikiEditor4Eclipse

  1. Can I connect to an HTTPS Trac site with self signed SSL certificate?
  2. Can I use WikiEditorForEclipsePlugin with AccountManager login module?

Can I connect to an HTTPS Trac site with self signed SSL certificate?

Trying to connect to a Trac site with self signed certificate:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: 
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target

In order to connect to a Trac site with self signed SSL certificate you need to import the certificate to the java jre keystore.

After downloading the certificate to a local file you can import the certificate with java keytool:

/usr/lib/jvm/java-6-openjdk/jre/bin/keytool -keystore /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts -import -file  <certificate_file> -alias <alias>

Can I use WikiEditorForEclipsePlugin with AccountManager login module?

Currently WikiEditor4Eclipse only supports BASIC authentication.

If you are using AccountManagerPlugin#LoginModule to use form based login you can still use HttpAuthPlugin to re-enable Http BASIC authentication for /login/xmlrpc path to make it work with XmlRpcPlugin.

See also XmlRpcPlugin#ProblemswhenAccountManagerPluginisenabled for more details.