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
};

asked 23 Jun '11, 23:41

coldliquidflame's gravatar image

coldliquidflame
15
accept rate: 0%

edited 24 Jun '11, 13:03

Lukas%20Matyska's gravatar image

Lukas Matyska ♦♦
90117

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.

(24 Jun '11, 13:06) Lukas Matyska ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12

Asked: 23 Jun '11, 23:41

Seen: 154 times

Last updated: 24 Jun '11, 13:06