Android Question HUC_PUBLIC issue with trust certification

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi,

I am using okHTTPUtils2 2.96 library. I added HU2_PUBLIC in my build configuration.In jobdone it is showing error
ResponseError. Reason: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found., Response:
If i use AcceptAll it gives error in
HttpUtils2Service.TaskIdToJob as unknown member

Can someone please advice.
Thanks
Juzer
 
Top