|
Post by manojl on Aug 2, 2019 8:04:09 GMT
Hi,
I am facing below issue related SSL while using Rhodes version 6.1.16 for android 7 and 8. It is working fine for 6 (I haven't test for other versions). This is happened only if I set "ssl_verify_peer" to true. Kindly advise.
08-02 14:19:39.555: I/APP(25733): I 08/02/2019 14:19:39:555 000064ae SSLImplJava| Secure SSL factory initialization completed 08-02 14:19:39.587: I/APP(25733): E 08/02/2019 14:19:39:587 000064ae SSLImplJava| Call of "connect" failed: SSLPeerUnverifiedException: No peer certificate 08-02 14:19:39.587: W/System.err(25733): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate 08-02 14:19:39.587: W/System.err(25733): at com.android.org.conscrypt.SSLNullSession.getPeerPrincipal(SSLNullSession.java:119) 08-02 14:19:39.588: W/System.err(25733): at com.rhomobile.rhodes.socket.SSLImpl.connect(SSLImpl.java:415)
For below code I am getting this error : Rho::Network.get({:url => url,:verifyPeerCertificate=> true, :headers => {"detectConnection"=>"detectConnection"}, :body => "detectConnection"})
|
|
|
Post by jontara on Aug 3, 2019 20:34:03 GMT
|
|
|
Post by manojl on Aug 5, 2019 7:34:31 GMT
Thanks "Jontara" for your response. I will check and update this thread.
|
|