Secure FTP syncronization
Posted: May 11th, 2018, 4:39 am
Hi,
I am working in a project that for test we are using FTP no encripted and it is working fine.
Now, for the same user we permit also access using FTPS. I tested the access using filezilla client and Total commander and both connections are working fine.
When I tried to connect using FTPS (the same with FTPES) I receive the following message in cspro in an android device:
Error connecting to server:
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertPathValidatorException: Trust anchor
for certification path not found.
Then the connection canot be done.
The ftp server for the normal ftp is: ftp_server = "xxxxx.ng";
The ftp server for ftps and for ftpes is: ftp_server = "ftps://xxxxx.ng"; or ftp_server = "ftpes://xxxxx.ng";
if !syncconnect(FTP, ftp_server, ftp_user, ftp_password) then
errmsg("error accessing ftp server");
...
xxxxx.ng is not the real server name (don't bring here for security reasons)
Please let me know which is the issue why I cannot connect to a secure ftp server and/or what I can do to access a secure ftp server.
My equipment is a samsung with android version 7.0
Thanks
Mario
I am working in a project that for test we are using FTP no encripted and it is working fine.
Now, for the same user we permit also access using FTPS. I tested the access using filezilla client and Total commander and both connections are working fine.
When I tried to connect using FTPS (the same with FTPES) I receive the following message in cspro in an android device:
Error connecting to server:
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertPathValidatorException: Trust anchor
for certification path not found.
Then the connection canot be done.
The ftp server for the normal ftp is: ftp_server = "xxxxx.ng";
The ftp server for ftps and for ftpes is: ftp_server = "ftps://xxxxx.ng"; or ftp_server = "ftpes://xxxxx.ng";
if !syncconnect(FTP, ftp_server, ftp_user, ftp_password) then
errmsg("error accessing ftp server");
...
xxxxx.ng is not the real server name (don't bring here for security reasons)
Please let me know which is the issue why I cannot connect to a secure ftp server and/or what I can do to access a secure ftp server.
My equipment is a samsung with android version 7.0
Thanks
Mario