Hi Bruce ,
Beside SSLFTPStandardValidator.MAX_CERTIFICATE_CHAIN_LENGTH = 4 I also disabled the host name validation (via SSLFTPStandardValidator(false)).
The server certificate has been validated this time , thank you very mcuh for help.
I still have a question for you please.
The indicator that the certificate was issued to the server directly by a CA is that the length of the certificate chain is no more than 2.
Where can I find more details about this topic (length of certificate chain).
Could you please send me a link which details the above.
Thank you and best regards ,
George