Hi,
i've a problem with on a customer pc.
When i try to open a connection over tls layer, i recive the error "535 SSL
handshake failed. Error #1".
I use the last ICS package and delphi 2010, i use OverbyteIcsSslFtpTst.exe
for this test.
Anyone can help me?
Best regards
daniele
This is IcsLog:
09.42.49.399 TWSocket will connect to 95.110.201.126:21
09.42.49.399 00A6D550 TryToSend 212
09.42.49.399 00A6D550 TriggerDataSent 212
09.42.49.649 >|220---------- Welcome to Pure-FTPd [privsep]
[TLS] ----------|
09.42.49.649 >|220-You are user number 2 of 80 allowed.|
09.42.49.649 >|220-Local time is now 09:42. Server port: 21.|
09.42.49.649 >|220-IPv6 connections are also welcome on this server.|
09.42.49.659 >|220 You will be disconnected after 20 minutes of inactivity.|
09.42.50.711 00A6D550 PutDataInSendBuffer 212 len 27 [1]
09.42.50.711 00A6D550 TryToSend 212
09.42.50.711 00A6D550 TryToSend 212
09.42.50.711 00A6D550 TriggerDataSent 212
09.42.50.831 >|331 User xxxxxxxxxxx OK. Password required|
09.42.51.912 00A6D550 PutDataInSendBuffer 212 len 13 [2]
09.42.51.912 00A6D550 TryToSend 212
09.42.51.912 00A6D550 TryToSend 212
09.42.51.912 00A6D550 TriggerDataSent 212
09.42.52.143 >|230-User xxxxxxxxxxx has group access to: easwebjv |
09.42.52.143 >|230-OK. Current restricted directory is /|
09.42.52.143 >|230 38714 Kbytes used (2%) - authorized: 1638400 Kb|
09.42.54.586 00A6D550 PutDataInSendBuffer 212 len 8 [3]
09.42.54.586 00A6D550 TryToSend 212
09.42.54.586 00A6D550 TryToSend 212
09.42.54.586 00A6D550 TriggerDataSent 212
09.42.54.706 >|200 TYPE is now 8-bit binary|
09.42.56.599 00A6D550 PutDataInSendBuffer 212 len 10 [4]
09.42.56.599 00A6D550 TryToSend 212
09.42.56.599 00A6D550 TryToSend 212
09.42.56.599 00A6D550 TriggerDataSent 212
09.42.56.719 >|234 AUTH TLS OK.|
09.42.56.719 00A6D550 StartSslHandshake 212
09.42.56.919 00A6D550 InitSSLConnection 212
09.42.56.919 00A6D550 BIO_ctrl(sslbio, BIO_C_SET_SSL, BIO_NOCLOSE,
0x1085A70) = 1 [5]
09.42.56.919 ICB> SSL_CB_HANDSHAKE_START
09.42.56.919 ICB> SSL_connect: before/connect initialization
09.42.56.919 ICB> SSL_connect: SSLv2/v3 write client hello A
09.42.56.919 ICB> SSL_connect: error in SSLv2/v3 read server hello A
09.42.56.919 00A6D550 BIO_read(sslbio, 0x1, 0) = -1 [6]
09.42.56.919 00A6D550 BIO_should_retry(sslbio) = 1 [7]
09.42.56.919 00A6D550 TriggerEvent sslFdRead 212
09.42.56.919 00A6D550 TriggerEvent sslFdWrite 212
09.42.56.919 SslAsyncSelect 212, 1 FD_READ
09.42.56.919 00A6D550 TCustomSslWSocket.Do_FD_READ 212
09.42.56.919 00A6D550 BIO_ctrl_get_read_request(nbio) = 7 [8]
09.42.56.919 00A6D550 Winsock recv( 212, 0x12DD44, 7, 0) = -1 [9]
09.42.56.919 00A6D550 TriggerEvents 212 SslState: SSL_ST_INIT //
MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0
bAllSent=-1
09.42.56.919 00A6D550 BIO_ctrl_pending(nbio) = 90 [10]
09.42.56.919 00A6D550 BIO_ctrl_get_write_guarantee(nbio) = 4096 [11]
09.42.56.919 SslAsyncSelect 212, 2 FD_WRITE
09.42.56.919 00A6D550 TCustomSslWSocket.Do_FD_WRITE 212
09.42.56.919 00A6D550 BIO_ctrl_pending(nbio) = 90 [12]
09.42.56.919 00A6D550 BIO_read(nbio, 0x12BD60, 90) = 90 [13]
09.42.56.919 00A6D550 my_RealSend (0xD4, 1228128, 90) = 90 [14]
09.42.56.919 00A6D550 BIO_ctrl_pending(nbio) = 0 [15]
09.42.56.919 00A6D550 TriggerEvents 212 SslState: SSL_ST_INIT //
MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0
bAllSent=-1
09.42.56.919 00A6D550 BIO_ctrl_pending(nbio) = 0 [16]
09.42.56.919 00A6D550 BIO_ctrl_get_write_guarantee(nbio) = 4096 [17]
09.42.56.919 00A6D550 TCustomSslWSocket.Do_FD_WRITE 212
09.42.56.919 00A6D550 BIO_ctrl_pending(nbio) = 0 [18]
09.42.56.919 00A6D550 BIO_read(nbio, 0x12BD6C, 0) = 0 [19]
09.42.56.919 00A6D550 TriggerEvents 212 SslState: SSL_ST_INIT //
MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0
bAllSent=-1
09.42.56.919 00A6D550 BIO_ctrl_pending(nbio) = 0 [20]
09.42.56.919 00A6D550 BIO_ctrl_get_write_guarantee(nbio) = 4096 [21]
09.42.56.919 00A6D550 TCustomSslWSocket.Do_FD_WRITE 212
09.42.56.919 00A6D550 BIO_ctrl_pending(nbio) = 0 [22]
09.42.56.919 00A6D550 BIO_read(nbio, 0x12BD6C, 0) = 0 [23]
09.42.56.919 00A6D550 TriggerEvents 212 SslState: SSL_ST_INIT //
MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0
bAllSent=-1
09.42.56.919 00A6D550 BIO_ctrl_pending(nbio) = 0 [24]
09.42.56.919 00A6D550 BIO_ctrl_get_write_guarantee(nbio) = 4096 [25]
09.42.57.040 00A6D550 TCustomSslWSocket.Do_FD_READ 212
09.42.57.040 00A6D550 BIO_ctrl_get_read_request(nbio) = 7 [26]
09.42.57.040 00A6D550 Winsock recv( 212, 0x12DD6C, 7, 0) = 7 [27]
09.42.57.040 00A6D550 BIO_write(nbio, 0x12DD6C, 7) = 7 [28]
09.42.57.040 00A6D550 BIO_ctrl(nbio, BIO_CTRL_FLUSH, 0, 0x0) = 1 [29]
09.42.57.040 ICB> SSL3 alert read fatal unknown
09.42.57.040 ICB> SSL_connect: error in SSLv2/v3 read server hello A
09.42.57.040 00A6D550 BIO_read(sslbio, 0x1, 0) = -1 [30]
09.42.57.040 00A6D550 BIO_should_retry(sslbio) = 0 [31]
09.42.57.040 00A6D550 212 [32] error:14077447:SSL
routines:SSL23_GET_SERVER_HELLO:reason(1095)
09.42.57.040 00A6D550 TriggerEvent sslFdClose 212
09.42.57.040 00A6D550 NetworkError #10053
09.42.57.040 SslAsyncSelect 212, 32 FD_CLOSE
09.42.57.040 00A6D550 TCustomSslWSocket.Do_FD_CLOSE error #0 212
09.42.57.040 00A6D550 *CloseCalled 212
09.42.57.040 00A6D550 SslHandshakeDone(1) 212. Secure connection with
Unknown, cipher Unknown, 0 secret bits (0 total), session reused=False
09.42.57.040 00A6D550 FCloseInvoked=0 212
09.42.57.050 00A6D550 ResetSslSession 212
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be