11 Replies Latest reply on Oct 10, 2013 3:37 PM by nmitchell

    SSL configuration with the Tomcat server


      Hi experts,


      I am trying to configure SSL for my Jboss EAP server using a self-signed certificate.


      I followed the below steps:



      1:- Created a self signed certificate by using the keytool utility.


      a: Create a private key – public key pair.


      keytool –genkey –alias mykey –keypass password –keystore identity.jks –storepass password


      b: Self sign the certificate.


      keytool –selfcert –alias mykey –keypass password –keystore identity.jks –storepass password


      2:-  Navigate to the JBOSS_HOME/server/<server-profile>/deploy/jbossweb.sar.


      Open the server.xml file. By default the SSL entry in the file is commented out.


      Uncomment the SSL configuration entry and provide the details about the keystoreFile and the keystorePass


      The SSL related entry in the server.xml file would look like below.



      <Connector protocol=”HTTP/1.1? SSLEnabled=”true”

      port=”8443? address=”${jboss.bind.address}”

      scheme=”https” secure=”true” clientAuth=”false”


      keystorePass=”password” sslProtocol = “TLS” />





      NOTE: I tried using a forward slash (‘/’) as well in the KeystoreFile path.



      This worked fine with the Jboss Community Server, however it breaks with the below error in Jboss EAP 5.1.


      Deployment "WebServer" is in error due to the following reason(s): LifecycleException:  Protocol handler initialization failed: java.lang.Exception: No Certificate file specified or invalid file format


      Any pointers would be highly appreciated