Android Question SSL Error Android 5.1 or bottom

Lucas Eduardo

Active Member
Licensed User
Hello, i'm new in forum, i'm having a problem with SSL. When i try to login in my app i recive this error only with android 5.1 or bottom.

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

If i change the hc.Initialize("hc") to hc.InitializeAcceptAll("hc") its works, but if i do that will show my PostString in the program FIDDLER.

Is there a way to Android 5.1 or bottom accept the SSL?

Thanks.
 

DonManfred

Expert
Licensed User
Longtime User
Get a valid Certificate. There are free ones available. Let´s Encrypt for example.
 
Upvote 0

Lucas Eduardo

Active Member
Licensed User
Hello my certificate is valid, "UbiquiTLS ™ DV RSA Server CA COMODO CA Limited", is a recognized verifier but I still have the same problem. would have some way I'd just recognize my certificate and not all as the hc.InitializeAcceptAll ("hc") option provide us?
 
Upvote 0
Top