2 Replies Latest reply on Mar 29, 2004 8:55 AM by vincentchun

    "Certificate authertication" Question

    vincentchun Newbie

      I have read the "JAAS Howto: README FIRST" and I run the example successfully.

      How can I run the example with "Certificate authertication"?
      and how to set the jboss to use secure socket layer (SSL)?

      Thank a lot!

      Best Regards,
      Vincent Chun

        • 1. Re:
          Scott Stark Master

          Uncomment the SSL/TLS connector in the jbossweb-tomcat41.sar/META-INF/jboss-service.xml descriptor:

           <!-- SSL/TLS Connector configuration using the SSL domain -->
           <Connector className = "org.apache.coyote.tomcat4.CoyoteConnector"
           address="" port = "8443" scheme = "https"
           secure = "true">
           <Factory className = "org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
           protocol = "TLS"/>

          Specify CLIENT-CERT authentication in the web.xml descriptor:


          • 2. Re:
            vincentchun Newbie

            Thanks for Scott Stark help first!

            After I set the following

            JBoss Console print out the following:
            LifecycleException: Protocol handler initialization failed: java.io.FileNotFoundException: C:\jboss-3.2.3\server\default\key\my.keystore (...

            I know that the keystore file must space on C:\jboss-3.2.3\server\default\key\my.keystore
            but How can I generate server side key (my.keystore) and client side key?

            Thank a lot first!

            Best Regards