ich wrote a servlet(client) and deployed it to WAS 188.8.131.52. The servlet should establish a SSL connection to a java application (server). Now i reseive an error in SystemOut.log:
javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target
This problem is only in servlet, a test application also written in java works fine. I us an self created certificate and pushed it i a file store.jks. In init()-function:
context.getRealPath("WEB-INF/" + realPathtoTruststore));
It is impossible to use a own truststore dynamically?
Thanks and regards
This topic has been locked.