incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Mishra <mishra.v...@gmail.com>
Subject Using cassandra-cli with Client-server encryption
Date Tue, 08 Oct 2013 19:14:15 GMT
Hi,
I am trying to use cassandra-cli with client-server encryption enabled. But
somehow getting handshake failure error(given below):

org.apache.thrift.transport.TTransportException:
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at
org.apache.thrift.transport.TIOStreamTransport.write(TIOStreamTransport.java:147)
    at
org.apache.thrift.transport.TFramedTransport.flush(TFramedTransport.java:156)
    at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:65)
    at
org.apache.cassandra.thrift.Cassandra$Client.send_describe_cluster_name(Cassandra.java:1095)
    at
org.apache.cassandra.thrift.Cassandra$Client.describe_cluster_name(Cassandra.java:1088)
    at org.apache.cassandra.cli.CliMain.connect(CliMain.java:147)
    at org.apache.cassandra.cli.CliMain.main(CliMain.java:246)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert:
handshake_failure
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
    at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1911)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1027)
    at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1262)
    at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:680)
    at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:85)
    at
org.apache.thrift.transport.TIOStreamTransport.write(TIOStreamTransport.java:145)



I am trying to get it working on local machine.

-Vivek

Mime
View raw message