Java / Cassandra – Fix: Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers

Today I was playing around a little with apache cassandra, setting up internode encryption with keystore and truststore, following the tutorial in the cassandra.yaml file. But I always ended up getting the error message: Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers.

How to fix this Error

Full error message

java.lang.IllegalArgumentException:
Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers
at com.sun.net.ssl.internal.ssl.CipherSuiteList.(CipherSuiteList.java:79)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.setEnabledCipherSuites(SSLServerSocketImpl.java:166)
at org.apache.cassandra.security.SSLFactory.getServerSocket(SSLFactory.java:54)
at org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:255)
at org.apache.cassandra.net.MessagingService.listen(MessagingService.java:241)
at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:485)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:462)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:383)
at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:215)
at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:107)

Solution

Note: I’m using jre6 on Debian Squeeze and jre7 on Windows 7 64-bit, it may differ on other distributions or operating systems

This error message has to do with missing or corrupt java security libraries.

1. Locate your jre lib/security directory

On Linux it should be by default: /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/security/
On Windows it should be by default: C:\Program Files\Java\jre7\lib\security

2. Download the Java Cryptography Extension (JCE)

Download for Java 6: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
Download for Java 7: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

3. Install the JCE

Extract the downloaded zip and place the two .jar files US_export_policy.jar and local_policy.jar into your jre/lib/security folder and overwrite old files if any.

Done

You are done. Your application should now start up normally.

Write a Comment

 

XHTML: You can use the following Tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

Comment Text

There are no Comments yet


Search terms for this article:

    • debian squeeze install java cryptography extension (jce)
    • cassandra thrift tsocket ssl
    • install java cryptography extension ubutu 11 10
    • cassandra java tutorial
    • cassandra java tutorial
    • 64-bit java TLS_RSA_WITH_AES_256_CBC_SHA
    • cassandra jre7
    • cassandra on ubuntu 11
    • cassandra ssl
    • cipher tls_rsa_with_aes_256_cbc_sha 256 apache
    • cipher tls_rsa_with_aes_256_cbc_sha 256 apache
    • ubuntu local_policy crypto
    • cannot support with currently installed providers
    • install cassandra ubuntu 11 10
    • how to install cassandra source code in linux
    • linux what java for cassandra
    • Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers java 6
    • use TLS_RSA_WITH_AES_256_CBC_SHA 256
    • grizzly Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers
    • TLS_RSA_WITH_AES_256_CBC_SHA 256
    • jar file for cassandra java download
    • apache cassandra security
    • running cassandra on ubuntu 11 10
    • apache cassandra inter-node encryption 256
    • tls_rsa_with_aes_256_cbc_sha java
    • install cassandra as service on ubuntu
    • cassandra java
    • ubuntu 11 10 java fix
    • after installing cassandra ubuntu 11 10
    • cassandra yaml file
    • cassandra download ubuntu 11 10
    • cassandra ubuntu 11 10
    • cassandra ssl tsocket example
    • cannot support with currently installed provider
    • cannot support with currently installed provider
    • cannot support with currently installed provider
    • cassandra for ubuntu 11 10
    • cassandra encryption
    • tls_rsa_with_aes_256_cbc_sha ssl
    • how to install cassandra ubuntu 11 10
    • ubuntu cassandra 11 10
    • local_policy jar jdk7
    • firebox error cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers
    • download org apache cassandra service
    • connot support tls_rsa_with_aes_256_cbc_sha
    • how do i install cassandra on ubuntu 11 10
    • tls_rsa_with_aes_256_cbc_sha secure
    • install org apache cassandra thrift CassandraDaemon linux
    • cassandra java 7
    • tls_rsa_with_aes_256_cbc_sha provider
    • java 7 and cassandra
    • java lang illegalargumentexception: cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers
    • apache cassandra illegalargumentexception
    • Apache Cassandra encryption
    • cassandra java lang illegalargumentexception: cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers
    • apache cassandra ubuntu 11.10
    • "cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers" java 6
    • java 1.6 cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers
    • java 1.6 cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers
    • install cassandra ubuntu 11.10
    • us_export_policy.jar jre7 donload
    • download cassandra for debian squeeze
    • cassandra security fix
    • instalar cassandra no ubuntu 11.10
    • apache tls_rsa_with_aes_256_cbc_sha
    • tls_rsa_with_aes_256_cbc_sha
    • cassandra "java 7"
    • cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers]
    • instalar cassandra en ubuntu 11.10
    • cannot start cassandra ubuntu 11.10
    • cassandra ubuntu 11.10
    • cannot support tls_rsa_with_aes_256_cbc_sha with currently installed
    • ubuntu TLS_RSA_WITH_AES_256_CBC_SHA
    • apache support tls_rsa_with_aes_256_cbc_sha
    • ubuntu 11.10 cassandra
    • ubuntu 11.10 cassandra
    • java.lang.IllegalArgumentException: Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers
    • "javajre7libsecurity" us_export_policy
    • install cassandra on ubuntu 11.10
    • java cryptography operating system
    • cannot support tls_rsa_with_aes_256_cbc_sha
    • cassandra internode encryption
    • cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers
    • cassandra cannot support tls_rsa_with_aes_256_cbc_sha with currently installed providers
Welcome!

Welcome to pathin.org
Thanks for looking by.
Please feel free to discuss with us by writing comments.

Categories
Tag Cloud