0 Replies Latest reply on Apr 10, 2014 12:11 PM by gtfisher

    JBoss AS7.1.1 Enable HTTPS

    gtfisher

      I have tried to enable HTTPS on my JBoss install by adding a connector to standalone.xml

       

      the connector is as follows:

      <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
            <ssl name="ssl" key-alias="ssl" password="secret" certificate-key-file="${jboss.server.base.dir}/configuration/default.keystore" protocol="TLSv1" verify-client="false"/>
      </connector>

       

      When JBoss starts the https connector fails to start and I get the following error in the stack trace in the console:

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]
        at java
      .util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]
        at java
      .lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]
        
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class
        javax
      .crypto.SunJCE_b
        at javax
      .crypto.Cipher.getInstance(DashoA13*..) [jce.jar:1.6]
        at com
      .sun.net.ssl.internal.ssl.JsseJce.getCipher(JsseJce.java:180) [jsse.jar:1.6]
        at com
      .sun.net.ssl.internal.ssl.CipherBox.<init>(CipherBox.java:85) [jsse.jar:1.6]
        at com
      .sun.net.ssl.internal.ssl.CipherBox.newCipherBox(CipherBox.java:119) [jsse.jar:1.6]
        at com
      .sun.net.ssl.internal.ssl.CipherSuite$BulkCipher.newCipher(CipherSuite.java:369) [jsse.jar:1.6]

      Any advice would be much appreacited

       

      cheers grant