F FormCommander Member Licensed User Longtime User May 25, 2018 #1 Hello, I try to connect with ssl to a webserver with a certifcate. But get the error not success javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. So I think that I have to use the sourcecode of OkHttpUtils2 and modify as recommended in https://www.b4x.com/android/forum/t...r-certification-path-not-found.88040/#content I downloaded it and have now HttpJob.bas and HttpUtils2Service.bas, but cannot find the line for changing from hc.Initialize 'to hc.InitializeAcceptall Where can I find it ? Is this the correct way ? Must I unselect then the HTTPUtils2 in the library manger ? regards Rudolf
Hello, I try to connect with ssl to a webserver with a certifcate. But get the error not success javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. So I think that I have to use the sourcecode of OkHttpUtils2 and modify as recommended in https://www.b4x.com/android/forum/t...r-certification-path-not-found.88040/#content I downloaded it and have now HttpJob.bas and HttpUtils2Service.bas, but cannot find the line for changing from hc.Initialize 'to hc.InitializeAcceptall Where can I find it ? Is this the correct way ? Must I unselect then the HTTPUtils2 in the library manger ? regards Rudolf
DonManfred Expert Licensed User Longtime User May 25, 2018 #2 FormCommander said: Where can I find it ? Click to expand... In FormCommander said: HttpUtils2Service.bas Click to expand... FormCommander said: Must I unselect then the HTTPUtils2 in the library manger ? Click to expand... Yes. Only use the Modules after you changed it. Upvote 0
FormCommander said: Where can I find it ? Click to expand... In FormCommander said: HttpUtils2Service.bas Click to expand... FormCommander said: Must I unselect then the HTTPUtils2 in the library manger ? Click to expand... Yes. Only use the Modules after you changed it.
F FormCommander Member Licensed User Longtime User May 25, 2018 #3 Thank you, it works perfect now ! regards Rudolf Upvote 0