Get error with connect to server “Trust anchor for certification path not found.”

Posted by user3693568 on Stack Overflow See other posts from Stack Overflow or by user3693568
Published on 2014-06-08T15:21:24Z Indexed on 2014/06/08 15:24 UTC
Read the original article Hit count: 511

Filed under:
|

I wrote code in android for connecting to server with ssl, I use BKS algorithm, I can create socket but when I send data to switch, I get this error

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

It is wonderful for me, I can connect to another server in local network with another BKS file and I can get response from that server, but with correct certificate in outside network, I cannot connect to another server, is it possible with network problem? Best regards

© Stack Overflow or respective owner

Related posts about android

Related posts about ssl