SFTP (SSH) does not use certificates. Maybe you mean FTPS? In that case you need to set
SessionOptions.TlsHostCertificateFingerprintto accept a non-trusted certificate.
My mistake then. I'm not familiar enough yet with either one to have known this.
So now I know ;-)