2 Replies Latest reply on Apr 25, 2006 3:33 PM by Anil Saldanha

    ciphers attribute in SSL connector ignored (JBoss AS 4.0.2)

    Ernesto Nebel Newbie


      I have configured the SSL connector in: deploy\jbossweb-tomcat55.sar\server.xml and have web services over https working. Now I'm trying to limit the ciphers that can be used on the HTTPS requests and responses. According to Tomcat documentation here:


      I should be able to use the ciphers attribute in the SSL connector configuration. I believe the values that I can use for the ciphers attribute are those in the last (5th) table of Appendix A of this document:


      so the SSL connector would look like this:

       <!-- SSL/TLS Connector on port 8443 -->
       <Connector port="8443" address="${jboss.bind.address}"
       maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
       scheme="https" secure="true" clientAuth="true"
       truststorePass="password" />

      I've found, however, that I can write trash in the ciphers attribute and the SSL call still succeeds. I can write:

      ciphers="Hi Mom!"

      and I get no errors either in the JBoss AS startup or in the HTTPS calls. It seems like the ciphers attribute is being ignored.

      Does anybody know how to limit the ciphers used by HTTPS in JBoss AS 4.0.2 ? (Upgrading to another version of JBoss is currently not an option, as our project is nearing the release date, but I could apply a patch if there is one.)

      Thank you very much,