E EJLib Member Licensed User Longtime User Feb 9, 2018 #1 When using jOkHttpUtils2 with an https:// url, I get this error: "java.net.SocketException: Connection reset" Switching to jHttpUtils2 with the same url, the error is: "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated" The URL works when placed into a browser window. The Android forums indicate that initializing OkHttpClient with InitializeAcceptAll may help. https://www.b4x.com/android/forum/threads/jrdc2-trust-anchor-for-certification-path-not-found.89331/ Is there a way to initialize jOkHttpUtils2 with "accept all"? Thanks, Eric
When using jOkHttpUtils2 with an https:// url, I get this error: "java.net.SocketException: Connection reset" Switching to jHttpUtils2 with the same url, the error is: "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated" The URL works when placed into a browser window. The Android forums indicate that initializing OkHttpClient with InitializeAcceptAll may help. https://www.b4x.com/android/forum/threads/jrdc2-trust-anchor-for-certification-path-not-found.89331/ Is there a way to initialize jOkHttpUtils2 with "accept all"? Thanks, Eric
OliverA Expert Licensed User Longtime User Feb 9, 2018 #2 https://www.b4x.com/android/forum/t...rtification-path-not-found.88040/#post-557022 https://www.b4x.com/android/forum/threads/modify-okhttplibrary-source.79012/#content https://www.b4x.com/android/forum/t...-ssl-sslhandshakeexception.71451/#post-454281 Upvote 0
https://www.b4x.com/android/forum/t...rtification-path-not-found.88040/#post-557022 https://www.b4x.com/android/forum/threads/modify-okhttplibrary-source.79012/#content https://www.b4x.com/android/forum/t...-ssl-sslhandshakeexception.71451/#post-454281