Trying to test an application in a test environment which successfully ran in a dev environment. It appears from the log file below that the Mentalis libraries are throwing errors dealing with the length of the public key. I found the link below, which appears to be similar in nature as this test machine is running on an AMD Opteron Processor 254 which is a x64 architecture. According this site, the Forum has been marke obsolete and no more posts can be done to this site. Granted my Dev environment is not the same as my test environment (mainly the x86 vs x64) but not sure on this. I have installed the certs in the same location on both dev and test environment. The FTP Server hasn't changed. Is this an issue that has identified and hopefully resolved somewhere? The environment I am testing under is .NET 2.0
http://www.mentalis.org/forum/thread.qpx/406
INFO [LicenseProperties] 7 May 2007 16:48:55.160 : Licence expiry date: 6/23/2007
INFO [LicenseProperties] 7 May 2007 16:48:55.160 : Trial license
INFO [LicenseProperties] 7 May 2007 16:48:55.160 : Licence expiry date: 6/23/2007
INFO [LicenseProperties] 7 May 2007 16:48:55.160 : Trial license
DEBUG [SSLFTPClient] 7 May 2007 16:48:55.160 : Connecting to 139.158.145.231:989
DEBUG [HostNameResolver] 7 May 2007 16:48:55.160 : 139.158.145.231 resolved to 139.158.145.231
DEBUG [ExFTPControlSocket] 7 May 2007 16:48:55.176 : Connecting directly to ftp-server 139.146.141.231:989
DEBUG [ExFTPControlSocket] 7 May 2007 16:48:55.239 : Created control-socket: SocksContext=, RemoteHost=139.158.145.231, controlPort=989, timeout=0
DEBUG [FTPControlSocket] 7 May 2007 16:48:55.270 : 220 AdConnections secure integration point.
DEBUG [FTPControlSocket] 7 May 2007 16:48:55.301 : ---> AUTH TLS
DEBUG [FTPControlSocket] 7 May 2007 16:48:55.348 : 234 Using authentication type TLS
DEBUG [SSLFTPControlSocket] 7 May 2007 16:48:55.348 : Beginning Tls1 handshake.
ERROR [SocketController] 7 May 2007 16:48:55.535 : OnReceive - caught exception - closing : Org.Mentalis.Security.Ssl.Shared.SslException: The pulic key should be at least 512 bits.
Org.Mentalis.Security.Ssl.Shared.SslException: The pulic key should be at least 512 bits.
at dw.a(dt A_0, Boolean A_1)
at cr.a(dt A_0)
at dw.b(f7 A_0)
at g7.a(Byte[] A_0, Int32 A_1, Int32 A_2)
at ec.b(Byte[] A_0, Int32 A_1, Int32 A_2)
at ec.c(Byte[] A_0, Int32 A_1, Int32 A_2)
at w.g(IAsyncResult A_0)
DEBUG [TransferBuffer] 7 May 2007 16:48:55.551 : Close() called when open
DEBUG [AsyncProcessor] 7 May 2007 16:48:55.551 : Stopping FTP task processor.
DEBUG [AsyncProcessor] 7 May 2007 16:48:55.551 : FTP task processor stopped.
DEBUG [FTPControlSocket] 7 May 2007 16:48:55.551 : ---> QUIT
ERROR [SecureFTPConnection] 7 May 2007 16:48:55.567 : An I/O exception occurred. : System.IO.IOException: An I/O exception occurred.
System.IO.IOException: An I/O exception occurred.
at a8.a(Byte[] A_0, Int32 A_1, Int32 A_2)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at EnterpriseDT.Net.Ftp.FTPControlSocket.WriteCommand(String command)
at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)
at EnterpriseDT.Net.Ftp.FTPClient.Quit()
at EnterpriseDT.Net.Ftp.Ssl.SSLFTPClient.Quit()
at EnterpriseDT.Net.Ftp.FTPConnection.Close(Boolean abruptClose)
at EnterpriseDT.Net.Ftp.SecureFTPConnection.Connect()
CAUSED BY:
System.Net.Sockets.SocketException: The operation completed successfully
at er.b(Byte[] A_0, Int32 A_1, Int32 A_2, SocketFlags A_3, AsyncCallback A_4, Object A_5)
at er.b(Byte[] A_0, Int32 A_1, Int32 A_2, SocketFlags A_3)
at a8.a(Byte[] A_0, Int32 A_1, Int32 A_2)