Android Question OkHttpUtils2 modification

FormCommander

Member
Licensed User
Longtime User
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
Upvote 0
Top