We have an SSL application that works great on Linux and Wndows NT.
After porting to Solaris (compiled on Solaris 2.6 Sun cc) we got the following
error from SSL handshake:

error:00000001:lib(0):func(0):reason(1)

SSL dump reveals that the client has closed the socket after
ServerHelloDone.

I used Google to search, got 10 or so hits, all of them were stale links.

Any idea what might cause this error?

Here's the output from ssldump:
===
[root@risken root]# ssldump port 15002
Kernel filter, protocol ALL, raw packet socket
New TCP connection #1: assar.it.volvo.se(33499) <-> risken.it.volvo.se(15002)
1 1  0.0018 (0.0018)  C>S  Handshake
      ClientHello
        Version 3.0 
        cipher suites
        SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
        SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
        SSL_RSA_WITH_3DES_EDE_CBC_SHA
        SSL_DHE_DSS_WITH_RC4_128_SHA
        SSL_RSA_WITH_IDEA_CBC_SHA
        SSL_RSA_WITH_RC4_128_SHA
        SSL_RSA_WITH_RC4_128_MD5
        SSL_DHE_DSS_WITH_RC2_56_CBC_SHA
        SSL_RSA_EXPORT1024_WITH_RC4_56_SHA
        SSL_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA
        SSL_RSA_EXPORT1024_WITH_DES_CBC_SHA
        SSL_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5
        SSL_RSA_EXPORT1024_WITH_RC4_56_MD5
        SSL_DHE_RSA_WITH_DES_CBC_SHA
        SSL_DHE_DSS_WITH_DES_CBC_SHA
        SSL_RSA_WITH_DES_CBC_SHA
        SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
        SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
        SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
        SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5
        SSL_RSA_EXPORT_WITH_RC4_40_MD5
        compression methods
                  NULL
1 2  0.0022 (0.0003)  S>C  Handshake
      ServerHello
        Version 3.0 
        session_id[0]=

        cipherSuite         SSL_RSA_WITH_3DES_EDE_CBC_SHA
        compressionMethod                   NULL
1 3  0.0022 (0.0000)  S>C  Handshake
      Certificate
1 4  0.0022 (0.0000)  S>C  Handshake
      CertificateRequest
        certificate_types                   rsa_sign
        certificate_types                   dss_sign
        certificate_authority
          30 81 9a 31 0b 30 09 06 03 55 04 06 13 02 53 45 
          31 0c 30 0a 06 03 55 04 08 13 03 4e 2f 41 31 13 
          30 11 06 03 55 04 07 13 0a 47 6f 74 68 65 6e 62 
          75 72 67 31 11 30 0f 06 03 55 04 0a 13 08 56 6f 
          6c 76 6f 20 49 54 31 1f 30 1d 06 03 55 04 0b 13 
          16 56 43 4f 4d 20 64 65 76 65 6c 6f 70 6d 65 6e 
          74 20 67 72 6f 75 70 31 12 30 10 06 03 55 04 03 
          13 09 56 43 4f 4d 20 74 65 73 74 31 20 30 1e 06 
          09 2a 86 48 86 f7 0d 01 09 01 16 11 76 63 6f 6d 
          64 65 76 40 76 6f 6c 76 6f 2e 63 6f 6d 
      ServerHelloDone
1    0.0122 (0.0099)  C>S  TCP FIN
1    0.0125 (0.0003)  S>C  TCP FIN
====


Raimo Kangassalo
Volvo Information Technology
Dept 2570, HD1S
SE-405 08 Gothenburg, Sweden

Telephone: +46 31 669721
E-mail: [EMAIL PROTECTED] 
 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to