3 Replies Latest reply on Sep 9, 2002 5:10 PM by sgjava

    JBoss 3.0.2 + Jetty SSL

    sgjava

      We bought the documentation for JBoss, but the docs tell you to go to the Jetty site to configure SSL (I do have this working for JBoss 3.0.1+Tomcat). I generated the keystore and changed the jboss-service.xml in the jbossweb.sar, but I get:

      08:43:39,726 INFO [jbossweb] jetty.ssl.keystore=/jboss-3.0.2/server/default/pfkeystore
      08:43:39,773 INFO [jbossweb] jetty.ssl.password=**********
      08:43:39,773 INFO [jbossweb] jetty.ssl.keypassword=**********
      08:43:39,789 WARN [jbossweb] WARNING: Failed to start: SunJsseListener@0.0.0.0:443
      08:43:39,804 ERROR [JettyService] multiple exceptions...
      08:43:39,804 ERROR [JettyService] exception
      java.io.FileNotFoundException: \jboss-3.0.2\server\default\pfkeystore (Access is denied)
      at java.io.FileInputStream.open(Native Method)

      Config info:




      443
      5
      255
      30000
      10000
      5000
      2000
      /jboss-3.0.2/server/default/pfkeystore
      mypass
      mypass




      Any ideas????

        • 1. Re: JBoss 3.0.2 + Jetty SSL

          I guess the clue is in :

          java.io.FileNotFoundException: \jboss-3.0.2\server\default\pfkeystore (Access is denied)

          does this file exist ?
          can Jetty access it ?

          Jules

          • 2. Re: JBoss 3.0.2 + Jetty SSL
            sgjava

            Yes, you get another error if the file isn't found. I'm not sure why I get (Access is denied). I'm running under Windows 2000 and the folder is located at the path specified in the jboss-service.xml file for Jetty. It doesn't matter where I put the dir I get access is denied.

            • 3. Re: JBoss 3.0.2 + Jetty SSL
              sgjava

              I figured this out. All the example docs only show a path. You actually have to put the keystore name:

              /.keystore