title: Cipher suite not available - how to add/enable? Tomcat SSL
body: <p>I have this list of enabled and supported ciphers in java</p>
  
  <pre><code>-----------SUPPORTED CIPHERS-------------
  
  Supported cipher suites:
   SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
   SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
   SSL_DHE_DSS_WITH_DES_CBC_SHA
   SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
   SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
   SSL_DHE_RSA_WITH_DES_CBC_SHA
   SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA
   SSL_DH_anon_EXPORT_WITH_RC4_40_MD5
   SSL_DH_anon_WITH_3DES_EDE_CBC_SHA
   SSL_DH_anon_WITH_DES_CBC_SHA
   SSL_DH_anon_WITH_RC4_128_MD5
   SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
   SSL_RSA_EXPORT_WITH_RC4_40_MD5
   SSL_RSA_WITH_3DES_EDE_CBC_SHA
   SSL_RSA_WITH_DES_CBC_SHA
   SSL_RSA_WITH_NULL_MD5
   SSL_RSA_WITH_NULL_SHA
   SSL_RSA_WITH_RC4_128_MD5
   SSL_RSA_WITH_RC4_128_SHA
   TLS_DHE_DSS_WITH_AES_128_CBC_SHA
   TLS_DHE_RSA_WITH_AES_128_CBC_SHA
   TLS_DH_anon_WITH_AES_128_CBC_SHA
   TLS_EMPTY_RENEGOTIATION_INFO_SCSV
   TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5
   TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA
   TLS_KRB5_EXPORT_WITH_RC4_40_MD5
   TLS_KRB5_EXPORT_WITH_RC4_40_SHA
   TLS_KRB5_WITH_3DES_EDE_CBC_MD5
   TLS_KRB5_WITH_3DES_EDE_CBC_SHA
   TLS_KRB5_WITH_DES_CBC_MD5
   TLS_KRB5_WITH_DES_CBC_SHA
   TLS_KRB5_WITH_RC4_128_MD5
   TLS_KRB5_WITH_RC4_128_SHA
   TLS_RSA_WITH_AES_128_CBC_SHA
  -----------ENABLED CIPHERS---------------
  
  Enabled cipher suites:
   SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
   SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
   SSL_DHE_DSS_WITH_DES_CBC_SHA
   SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
   SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
   SSL_DHE_RSA_WITH_DES_CBC_SHA
   SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
   SSL_RSA_EXPORT_WITH_RC4_40_MD5
   SSL_RSA_WITH_3DES_EDE_CBC_SHA
   SSL_RSA_WITH_DES_CBC_SHA
   SSL_RSA_WITH_RC4_128_MD5
   SSL_RSA_WITH_RC4_128_SHA
   TLS_DHE_DSS_WITH_AES_128_CBC_SHA
   TLS_DHE_RSA_WITH_AES_128_CBC_SHA
   TLS_EMPTY_RENEGOTIATION_INFO_SCSV
   TLS_RSA_WITH_AES_128_CBC_SHA
  </code></pre>
  
  <p>However the cipher I need available is </p>
  
  <pre><code>TLS_RSA_WITH_AES_256_CBC_SHA.
  </code></pre>
  
  <p>I obtained this info by writing a quick java class which runs getSupportedCipherSuites() and getEnabledCipherSuites(),  I have run this on JRE 6 32 and 64 Bit and also on JRE 7 32 and 64 Bit, but due to the systems I am working with, I have to run 32 bit JRE.  I cannot find anything online other than this list of which ciphers should be supported <a href="http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html" rel="nofollow">http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html</a></p>
  
  <p>This link shows the cipher I am looking as available but after checking i obviously don't see it as available to me.  My question is, is there any way to add this cipher in or a different version of Java that I can use which will have this available? Also, how can those which are supported but not enabled be enabled?</p>
  
  <p>As a note, I do have the files located here installed for Java 6: <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html" rel="nofollow">http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html</a>  and Here for Java 7: <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html" rel="nofollow">http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html</a> .  I already had the files and overwrote them anyway with the files downloaded from those links.  Did not help.</p>
  
  <p>This is all to lead to working with Tomcat in eclipse.  When trying to run Tomcat with a working certificate I get this:
  java.io.IOException: SSL configuration is invalid due to No available certificate or key corresponds to the SSL cipher suites which are enabled.</p>
  
  <p>While this usually point to a an alias not being stated, in my situation I believe my problem is related to the cipher.</p>