on 07-09-2015 2:33 PM
While consuming odata service from a service url , I am getting the following server error :
Server Error Caused by:</h3><pre>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
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
Can anyone provide solution for this?
It seems that an SSL certificate is missing somewhere.
Maybe you didn't import the root CA certificate at the client system, so it can validate and trust the server certificate provided by the target system?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes,I have imported certificate in the browser.
The code snippet is also provided.Please note that I am trying to hit the url via reverse proxy(port 443).
I have successfully obtained response while testing through Postman Rest Client ,but I am facing the following errors when trying to hit the url through SAPUI5.
Error facing while running first time:
Error facing while running second time:
Please help.Thanks in advance.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.