I searched for quite a while and could not find anything that helped.
I have a plugin that needs to connect to an external server via HTTPS. I have used keytool to install a self signed cert into /opt/openfire/jre/lib/security/cacerts. I also have a test program that I have run from the shell and it is able to retreive the resource correctly.
When my plugin tries to access the same URL it fails with the SSL message:
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
I have read the “SSL Guide” but that only seems to cover XMPP client connections.
Is there another location for certs besides the path above?
Anyone have any clues?