verify depth is 8
CONNECTED(00000003)
depth=0 /C=NL/ST=Gelderland/L=Groenlo/O=N.V. Nederlandsche Apparatenfabriek Nedap/OU=Healthcare/CN=*.ons.io
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=NL/ST=Gelderland/L=Groenlo/O=N.V. Nederlandsche Apparatenfabriek Nedap/OU=Healthcare/CN=*.ons.io
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=NL/ST=Gelderland/L=Groenlo/O=N.V. Nederlandsche Apparatenfabriek Nedap/OU=Healthcare/CN=*.ons.io
verify error:num=21:unable to verify the first certificate
verify return:1
5892:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s3_pkt.c:1125:SSL alert number 48
5892:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s23_lib.c:182:
verify depth is 1
CONNECTED(00000003)
depth=0 /C=NL/ST=Gelderland/L=Groenlo/O=N.V. Nederlandsche Apparatenfabriek Nedap/OU=Healthcare/CN=*.ons.io
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=NL/ST=Gelderland/L=Groenlo/O=N.V. Nederlandsche Apparatenfabriek Nedap/OU=Healthcare/CN=*.ons.io
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=NL/ST=Gelderland/L=Groenlo/O=N.V. Nederlandsche Apparatenfabriek Nedap/OU=Healthcare/CN=*.ons.io
verify error:num=21:unable to verify the first certificate
verify return:1
5897:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s3_pkt.c:1125:SSL alert number 48
5897:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s23_lib.c:182:
CONNECTED(00000003)
depth=2 /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=2 /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
verify error:num=27:certificate not trusted
verify return:1
depth=1 /C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G2
verify return:1
depth=0 /C=NL/ST=Gelderland/L=Groenlo/O=N.V. Nederlandsche Apparatenfabriek Nedap/OU=Healthcare/CN=*.ons.io
verify return:1
5915:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s3_pkt.c:1125:SSL alert number 48
5915:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s23_lib.c:182:
CONNECTED(00000003)
depth=2 /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
verify error:num=20:unable to get local issuer certificate
verify return:0
5919:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s3_pkt.c:1125:SSL alert number 48
5919:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:/SourceCache/OpenSSL098/OpenSSL098-52/src/ssl/s23_lib.c:182:
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
And for Erlang
Erlang/OTP 17 [RELEASE CANDIDATE 2] [erts-6.0] [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]
=ERROR REPORT==== 4-Nov-2014::20:17:01 ===
SSL: certify: ssl_handshake.erl:1403:Fatal error: handshake failure
=ERROR REPORT==== 4-Nov-2014::20:17:06 ===
Error on AMQP connection <0.829.0>:
{ssl_upgrade_error,{tls_alert,"handshake failure"}}
And Java ends with:
*** CertificateVerify
main, WRITE: TLSv1 Handshake, length = 262
main, WRITE: TLSv1 Change Cipher Spec, length = 1
*** Finished
verify_data: { 172, 199, 125, 119, 200, 134, 128, 228, 109, 91, 203, 17 }
***
main, WRITE: TLSv1 Handshake, length = 48
main, READ: TLSv1 Alert, length = 2
main, RECV TLSv1 ALERT: fatal, handshake_failure
%% Invalidated: [Session-3, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA]
main, called closeSocket()
main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure