Hi, I am having problem on connecting to a server running SSL. When client send "Client Hello", the server reject with "Handshake Failure".
I think there is something wrong with Reandom.gmt_unix_time and Session ID. I ported SSL 0.9.8g to our platform, I might have missed something. Could anyone tell me how to fix this problem? Thanks in advance. Here is the client request through Ethereal: ---------------------------------------------- Secure Socket Layer SSLv3 Record Layer: Handshake Protocol: Client Hello Content Type: Handshake (22) Version: SSL 3.0 (0x0300) Length: 61 Handshake Protocol: Client Hello Handshake Type: Client Hello (1) Length: 57 Version: SSL 3.0 (0x0300) Random.gmt_unix_time: Jan 1, 1970 08:00:41.000000000 Random.bytes Session ID Length: 0 Cipher Suites Length: 18 Cipher Suites (9 suites) Cipher Suite: TLS_RSA_WITH_AES_256_CBC_SHA (0x0035) Cipher Suite: TLS_RSA_WITH_3DES_EDE_CBC_SHA (0x000a) Cipher Suite: Unknown (0x0096) Cipher Suite: TLS_RSA_WITH_AES_128_CBC_SHA (0x002f) Cipher Suite: TLS_RSA_WITH_RC4_128_SHA (0x0005) Cipher Suite: TLS_RSA_WITH_RC4_128_MD5 (0x0004) Cipher Suite: TLS_RSA_WITH_DES_CBC_SHA (0x0009) Cipher Suite: TLS_RSA_EXPORT_WITH_DES40_CBC_SHA (0x0008) Cipher Suite: TLS_RSA_EXPORT_WITH_RC4_40_MD5 (0x0003) Compression Methods Length: 1 Compression Methods (1 method) Compression Method: null (0)