on 10-22-2014 2:14 PM
Hi Experts,
Please help me with following issue.
I am Consuming SAP PI webservice in my Servlet code. Also Authenticating the Webservice with User ID & Password in the same Code. When i deploy and run the application in SAP Netweaver Server 7.4. I'm getting following issue.
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 added trusted key in the NWA of Server under TrustedCA's.
Still I facing the issue. Kindly suggest me to fix this issue.
Thanks,
Karthick
Hi Karthick
It would appear that your code is not using the AS Java for certificate management, without a code snippet or stack trace I cannot be sure, but I recommend adding the relevant cert(s) to JAVA_HOME/jre/lib/security/cacerts using the JDKs keytool utility and see if that resolves the SSL issue
Maybe you'll find this thread useful, for a different scenario but the concept is the same
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.