openssl s_client -connect localhost:3121
CONNECTED(00000003)
3077671112:error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error:s23_clnt.c:724:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 226 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
Ununtu 12.04 LTS
openjdk-6-jdk: 11.1-4ubuntu3 11.1-4ubuntu3 11.1-4ubuntu3 0 za.archive. ubuntu. com/ubuntu/ precise- updates/ main i386 Packages dpkg/status 1.11.1- 4ubuntu2 0 za.archive. ubuntu. com/ubuntu/ precise/main i386 Packages
Installed: 6b24-1.
Candidate: 6b24-1.
Version table:
*** 6b24-1.
500 http://
100 /var/lib/
6b24-
500 http://
From the OpenSSL client:
openssl version
OpenSSL 1.0.1 14 Mar 2012
openssl s_client -connect localhost:3121 error:14077438: SSL routines: SSL23_GET_ SERVER_ HELLO:tlsv1 alert internal error:s23_ clnt.c: 724:
CONNECTED(00000003)
3077671112:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 226 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
From the OpenJDK6 server (broken):
Allow unsafe renegotiation: true RSA_WITH_ AES_256_ CBC_SHA, TLS_ECDHE_ ECDSA_WITH_ AES_256_ CBC_SHA, Unknown 0xc0:0x22, Unknown 0xc0:0x21, TLS_DHE_ RSA_WITH_ AES_256_ CBC_SHA, TLS_DHE_ DSS_WITH_ AES_256_ CBC_SHA, Unknown 0x0:0x88, Unknown 0x0:0x87, TLS_ECDH_ RSA_WITH_ AES_256_ CBC_SHA, TLS_ECDH_ ECDSA_WITH_ AES_256_ CBC_SHA, TLS_RSA_ WITH_AES_ 256_CBC_ SHA, Unknown 0x0:0x84, TLS_ECDHE_ RSA_WITH_ 3DES_EDE_ CBC_SHA, TLS_ECDHE_ ECDSA_WITH_ 3DES_EDE_ CBC_SHA, Unknown 0xc0:0x1c, Unknown 0xc0:0x1b, SSL_DHE_ RSA_WITH_ 3DES_EDE_ CBC_SHA, SSL_DHE_ DSS_WITH_ 3DES_EDE_ CBC_SHA, TLS_ECDH_ RSA_WITH_ 3DES_EDE_ CBC_SHA, TLS_ECDH_ ECDSA_WITH_ 3DES_EDE_ CBC_SHA, SSL_RSA_ WITH_3DES_ EDE_CBC_ SHA, TLS_ECDHE_ RSA_WITH_ AES_128_ CBC_SHA, TLS_ECDHE_ ECDSA_WITH_ AES_128_ CBC_SHA, Unknown 0xc0:0x1f, Unknown 0xc0:0x1e, TLS_DHE_ RSA_WITH_ AES_128_ CBC_SHA, TLS_DHE_ DSS_WITH_ AES_128_ CBC_SHA, Unknown 0x0:0x9a, Unknown 0x0:0x99, Unknown 0x0:0x45, Unknown 0x0:0x44, TLS_ECDH_ RSA_WITH_ AES_128_ CBC_SHA, TLS_ECDH_ ECDSA_WITH_ AES_128_ CBC_SHA, TLS_RSA_ WITH_AES_ 128_CBC_ SHA, Unknown 0x0:0x96, Unknown 0x0:0x41, TLS_ECDHE_ RSA_WITH_ RC4_128_ SHA, TLS_ECDHE_ ECDSA_WITH_ RC4_128_ SHA, TLS_ECDH_ RSA_WITH_ RC4_128_ SHA, TLS_ECDH_ ECDSA_WITH_ RC4_128_ SHA, SSL_RSA_ WITH_RC4_ 128_SHA, SSL_RSA_ WITH_RC4_ 128_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, TLS_EMPTY_ RENEGOTIATION_ INFO_SCSV] compressed_ prime, ansiX962_ compressed_ char2] ProviderExcepti on: sun.security. pkcs11. wrapper. PKCS11Exception : CKR_DOMAIN_ PARAMS_ INVALID ssl.SSLExceptio n: java.security. ProviderExcepti on: sun.security. pkcs11. wrapper. PKCS11Exception : CKR_DOMAIN_ PARAMS_ INVALID
Allow legacy hello messages: true
Is initial handshake: true
Is secure renegotiation: false
pool-2-thread-4, setSoTimeout(20000) called
pool-2-thread-4, READ: TLSv1 Handshake, length = 221
*** ClientHello, TLSv1.1
RandomCookie: GMT: 1321675259 bytes = { 184, 44, 25, 155, 123, 0, 221, 149, 99, 164, 30, 145, 14, 82, 5, 146, 179, 15, 178, 161, 250, 169, 115, 69, 239, 126, 131, 196 }
Session ID: {}
Cipher Suites: [TLS_ECDHE_
Compression Methods: { 1, 0 }
Extension ec_point_formats, formats: [uncompressed, ansiX962_
Extension elliptic_curves, curve names: {sect571r1, sect571k1, secp521r1, sect409k1, sect409r1, secp384r1, sect283k1, sect283r1, secp256k1, secp256r1, sect239k1, sect233k1, sect233r1, secp224k1, secp224r1, sect193r1, sect193r2, secp192k1, secp192r1, sect163k1, sect163r1, sect163r2, secp160k1, secp160r1, secp160r2}
Unsupported extension type_35, data:
Unsupported extension type_15, data: 01
***
pool-2-thread-4, handling exception: java.security.
pool-2-thread-4, SEND TLSv1 ALERT: fatal, description = internal_error
pool-2-thread-4, WRITE: TLSv1 Alert, length = 2
pool-2-thread-4, called closeSocket()
pool-2-thread-4, IOException in getSession(): javax.net.
Finalizer, called close()
Finalizer, called closeInternal(true)
Finalizer, called close()
Finalizer, called closeInternal(true)
Finalizer, called close()
Finalizer, called closeInternal(true)
From the sun-jdk server(works):
Allow unsafe renegotiation: true RSA_WITH_ AES_256_ CBC_SHA, TLS_ECDHE_ ECDSA_WITH_ AES_256_ CBC_SHA, Unknown 0xc0:0x22, Unknown 0xc0:0x21, TLS_DHE_ RSA_WITH_ AES_256_ CBC_SHA, TLS_DHE_ DSS_WITH_ AES_256_ CBC_SHA, Unknown 0x0:0x88, Unknown 0x0:0x87, TLS_ECDH_ RSA_WITH_ AES_256_ CBC_SHA, TLS_ECDH_ ECDSA_WITH_ AES_256_ CBC_SHA, TLS_RSA_ WITH_AES_ 256_CBC_ SHA, Unknown 0x0:0x84, TLS_ECDHE_ RSA_WITH_ 3DES_EDE_ CBC_SHA, TLS_ECDHE_ ECDSA_WITH_ 3DES_EDE_ CBC_SHA, Unknown 0xc0:0x1c, Unknown 0xc0:0x1b, SSL_DHE_ RSA_WITH_ 3DES_EDE_ CBC_SHA, SSL_DHE_ DSS_WITH_ 3DES_EDE_ CBC_SHA, TLS_ECDH_ RSA_WITH_ 3DES_EDE_ CBC_SHA, TLS_ECDH_ ECDSA_WITH_ 3DES_EDE_ CBC_SHA, SSL_RSA_ WITH_3DES_ EDE_CBC_ SHA, TLS_ECDHE_ RSA_WITH_ AES_128_ CBC_SHA, TLS_ECDHE_ ECDSA_WITH_ AES_128_ CBC_SHA, Unknown 0xc0:0x1f, Unknown 0xc0:0x1e, TLS_DHE_ RSA_WITH_ AES_128_ CBC_SHA, TLS_DHE_ DSS_WITH_ AES_128_ CBC_SHA, Unknown 0x0:0x9a, Unknown 0x0:0x99, Unknown 0x0:0x45, Unknown 0x0:0x44, TLS_ECDH_ RSA_WITH_ AES_128_ CBC_SHA, TLS_ECDH_ ECDSA_WITH_ AES_128_ CBC_SHA, TLS_RSA_ WITH_AES_ 128_CBC_ SHA, Unknown 0x0:0x96, Unknown 0x0:0x41, TLS_ECDHE_ RSA_WITH_ RC4_128_ SHA, TLS_ECDHE_ ECDSA_WITH_ RC4_128_ SHA, TLS_ECDH_ RSA_WITH_ RC4_128_ SHA, TLS_ECDH_ ECDSA_WITH_ RC4_128_ SHA, SSL_RSA_ WITH_RC4_ 128_SHA, SSL_RSA_ WITH_RC4_ 128_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, TLS_EMPTY_ RENEGOTIATION_ INFO_SCSV] compressed_ prime, ansiX962_ compressed_ char2] RSA_WITH_ 3DES_EDE_ CBC_SHA] RSA_WITH_ 3DES_EDE_ CBC_SHA connection: <empty> RSA_WITH_ 3DES_EDE_ CBC_SHA
Allow legacy hello messages: true
Is initial handshake: true
Is secure renegotiation: false
pool-2-thread-1, setSoTimeout(20000) called
pool-2-thread-1, READ: TLSv1 Handshake, length = 221
*** ClientHello, TLSv1.1
RandomCookie: GMT: 1321675506 bytes = { 188, 132, 89, 108, 237, 169, 129, 49, 160, 33, 112, 237, 203, 27, 146, 187, 53, 152, 148, 219, 10, 93, 44, 51, 49, 209, 241, 18 }
Session ID: {}
Cipher Suites: [TLS_ECDHE_
Compression Methods: { 1, 0 }
Extension ec_point_formats, formats: [uncompressed, ansiX962_
Extension elliptic_curves, curve names: {sect571r1, sect571k1, secp521r1, sect409k1, sect409r1, secp384r1, sect283k1, sect283r1, secp256k1, secp256r1, sect239k1, sect233k1, sect233r1, secp224k1, secp224r1, sect193r1, sect193r2, secp192k1, secp192r1, sect163k1, sect163r1, sect163r2, secp160k1, secp160r1, secp160r2}
Unsupported extension type_35, data:
Unsupported extension type_15, data: 01
***
%% Created: [Session-1, TLS_ECDHE_
*** ServerHello, TLSv1
RandomCookie: GMT: 1321675506 bytes = { 141, 15, 202, 217, 253, 174, 240, 169, 172, 62, 151, 132, 183, 87, 204, 146, 37, 174, 38, 204, 18, 234, 112, 30, 174, 165, 57, 117 }
Session ID: {79, 199, 43, 242, 167, 217, 237, 76, 85, 242, 195, 126, 53, 209, 252, 103, 58, 71, 185, 6, 181, 52, 206, 70, 75, 13, 117, 143, 21, 183, 5, 142}
Cipher Suite: TLS_ECDHE_
Compression Method: 0
Extension renegotiation_info, renegotiated_
***
Cipher suite: TLS_ECDHE_
*** Certificate chain