Hi guys:
I’ve a certificate problem, using the code below in my portlet I get a certificate error
URL url = new URL(hostName + “intranet/TU/sessionvalidator/” + sessionID );
URLConnection con = url.openConnection();
com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: java.security.cert.CertPathValidatorException: The certificate issued by CN=SBG Certificate Authority, DC=dpardirectory, DC=com is not trusted; internal cause is: java.security.cert.CertPathValidatorException: Certificate chaining error
I got the two certificates and sucefully imported into cacerts sucefully:
keytool -importcert -keystore /var/opt/webMethods/v8/jvm/aix160_64/jre/lib/security/cacerts -trustcacerts -file /sistemas/BPM/keystore/wexcertificate.der -a
lias webComex
keytool -importcert -keystore /var/opt/webMethods/v8/jvm/aix160_64/jre/lib/security/cacerts -trustcacerts -file /sistemas/BPM/keystore/wexcertificateCA.der -a
lias webComex
Restart IS and MWS but the problem remains.
Need help.
Regards.
#webMethods#webMethods-BPMS#MWS-CAF-Task-Engine