I installed Tomcat-7, configured TLSv1.2 support on port 8443.
My connector configuration:
protocol = "org.apache.coyote.http11.Http11NioProtocol" SSLEnabled = "true" schem = "https" secure = "true" sslProtocol = " TLSv1.2 "sslEnabledProtocols =" TLSv1.2 "
Then I set up a list of strong ciphers that I wanted to use. TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_A4_254_wha_sha_sha_sha_sha_sha_shita
As I already read, Tomcat can use Java JSSE or OpenSSL
JSSE protocol = "org.apache.coyote.http11.Http11NioProtocol"
OpenSSL protocol = "org.apache.coyote.http11.Http11AprProtocol"
My tomcat connector is configured with JSSE protocol.
It works if I add the following ciphers with SHA1. (No GCM with SHA1) TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA.
I downloaded Java cryptographic extension policy files. Tried both Java 7 and Java 8.
Before installing cryptographic extensions, I received the following error when starting Tomcat
INFO: Initializing ProtocolHandler ["http-nio-8443"]
mai 20, 2014 3:57:43 PM org.apache.tomcat.util.net.jsse.JSSESocketFactory getEnableableCiphers
WARNING: None of the ciphers specified are supported by the SSL engine : TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
Java 7, GCM-SHA384 CBC-SHA384 :
http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#ciphersuites
:
INFO: Initializing ProtocolHandler ["http-nio-8443"]
mai 20, 2014 4:21:11 PM org.apache.tomcat.util.net.jsse.JSSESocketFactory getEnableableCiphers
WARNING: None of the ciphers specified are supported by the SSL engine : TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA584,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA584,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA584,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA584
, Tomcat/Java.
? Chromium Firefox. , Chromium SHA256, SHA384 AES-GCM.