0 votes
by (120 points)
edited

I'm getting the following error when I run FtpClient.Connect(serverName: host, serverPort: 21, parameters: tls, security: FtpSecurity.Explicit);

Rebex.Net.TlsException: Fatal error 'HandshakeFailure' has been reported by the remote connection end.
   at wWGvS.AsKBXeZ.OnAlertReceived(Byte[] buffer, Int32 offset, Int32 count)
   at wWGvS.ckSCApZ.BdFvlW(Byte[] , Int32 , Int32 )
   at wWGvS.ckSCApZ.cDtmAOZ()
   --- End of inner exception stack trace ---
   at wWGvS.ckSCApZ.cDtmAOZ()
   at wWGvS.ckSCApZ.ArwjUr()
   at Rebex.Net.TlsSocket.Negotiate()
   at wWGvS.AgXIfM.AUXDmhZ(TlsParameters )
   at Rebex.Net.Ftp.BLyBkd(TlsParameters , FtpSecureUpgradeType )
   at Rebex.Net.Ftp.Connect(String serverName, Int32 serverPort, TlsParameters parameters, FtpSecurity security)

tls parameters are:

TlsParameters tls = new TlsParameters
{
    AllowedSuites = TlsCipherSuite.All,
    Certificate = certChain,
    Version = TlsVersion.Any,
    CertificateVerifier = new CustomVerifier(),
    CertificateRequestHandler = CertificateRequestHandler.StoreSearch
};

1 Answer

0 votes
by (73.6k points)

Could you please create a communication log as described at http://www.rebex.net/kb/logging.aspx and send the log to support@rebex.net for analysis? It should allow us to find out what's going on and come with solution.

...