Currently, there is no way to set a validator for SSL in SecureFileTransferClient. This is an oversight and is not by design, so we will add this to a future version (hopefully the next release).
If you post the relevant snippet of the debug log file we can offer an opinion on what is happening.