Android Question sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path

b4auser1

Well-Known Member
Licensed User
Longtime User
I setup FileZilla server with FTPS, based on self signed certificate.
When I tried to upload file using FTP class from Net library, then got an error "sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path". I found how to add self signed certificate to KeyStore on the client using keytool. There are two drawbacks for this solution.
1) It's very incovinient to make all the clients to make the procedure with keytool.
2) I don't know if adding certificate from SD card on Android device equals the keytool using.

How to avoid the procedure to add self signed certificate on all clients (Android and Desktop) ?
 
Top