Question

2
Replies
158
Views
dubea1 Member since 2014 3 posts
PEGA
Posted: October 11, 2017
Last activity: October 16, 2018
Closed
Solved

SSL - Connect SDK

Hi,

One of our clients is trying to use Connect SDK to retrieve information from Pega application. They are able to do it from IOS but they get below error from Android -

  1. javax.net.ssl.SSLHandshakeException:
  2. java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

at

  • org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake

(OpenSSLSocketImpl.java:374)

at libcore.net.http.HttpConnection.setupSecureSocket

(HttpConnection.java:209)

at libcore.net.http.HttpsURLConnectionImpl

$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:478)

at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect

(HttpsURLConnectionImpl.java:433)

at libcore.net.http.HttpEngine.sendSocketRequest

(HttpEngine.java:290)

at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)

at libcore.net.http.HttpURLConnectionImpl.getResponse

(HttpURLConnectionImpl.java:282)

at libcore.net.http.HttpURLConnectionImpl.getInputStream

(HttpURLConnectionImpl.java:177)

at libcore.net.http.HttpsURLConnectionImpl.getInputStream

(HttpsURLConnectionImpl.java:271)

This error has been documented in the Android Developer site ( https://developer.android.com/training/articles/security-ssl.html#UnknownCa) with some common causes of this problem. They would like to follow the solution mentioned in the link under "Unknown CA" option but they are not finding the way to attach custom SSLSocketFactory with the ConnectSDK library?

***Edited by Moderator Marissa to update SR Details & add FDBK ID***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Mobile SR Exists
Moderation Team has archived post
Share this page LinkedIn