I am running dse-5.1.12 and enabled client and server side encryption and below is my configuration
server_encryption_options:
internode_encryption: all
keystore: <Cassandra_Home>/conf/ashidmddbcass01p_keystore.jks
keystore_password: XXXXXXXXXXX
truststore: <Cassandra_Home>/conf/cassandra-truststore.jks
truststore_password: XXXXXXXXXXX
require_client_auth: true
client_encryption_options:
enabled: true
# If enabled and optional is set to true encrypted and unencrypted connections are handled.
optional: false
keystore: <Cassandra_Home>/conf/ashidmddbcass01p_keystore.jks
keystore_password: XXXXXXXXXXX
# require_client_auth: false
# Set trustore and truststore_password if require_client_auth is true
truststore: <Cassandra_Home>/conf/cassandra-truststore.jks
truststore_password: XXXXXXXXXXX
I am having below error frequently in my logs
INFO [Native-Transport-Requests:12] 2019-12-11 11:45:52,456 Message.java (line 397) Unexpected exception during request;
org.jboss.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 01000001000000160001000b43514c5f56455253494f4e0005332e302e30
at org.jboss.netty.handler.ssl.SslHandler.decode(SslHandler.java:871)
However, when I check application connection, there are 124.