the doc was wrong...
look in previous messages about that on this mailing list

this should work (not testes exactly with that, but it should work)


  <!-- Embedded Tomcat 4.x - JBossSX SecurityDomain (JaasSecurityDomain) -->
  <mbean code="org.jboss.security.plugins.JaasSecurityDomain" 
     name="Security:name=JaasSecurityDomain,domain=tomcat">
    <constructor>
      <arg type="java.lang.String" value="tomcat" />
    </constructor>
    <attribute name="KeyStoreURL">../conf/tomcat.jks</attribute>
    <attribute name="KeyStorePass">changeit</attribute>
  </mbean>


  <!-- Uncomment to add embedded catalina service -->
  <mbean code="org.jboss.web.catalina.EmbeddedCatalinaServiceSX"
name="DefaultDomain:service=EmbeddedTomcat" >
    <attribute name="ConnectorType">http</attribute>
    <!-- an HTTPS connector associated with an HTTP configured in the config
attribute,
       redirectPort should be set there -->
    <attribute name="Port">443</attribute>
    <attribute name="SecurityDomain">java:/jaas/tomcat</attribute -->

    <attribute name="Config">
    <Server >
      <Service >
        <!-- an HTTP connector redirecting to an HTTPS which can be
configures as the def connector -->
        <Connector 
          className="org.apache.catalina.connector.http.HttpConnector" 
          port="80" minProcessors="3" maxProcessor="10" acceptCount="10"
          enableLookups="true"  redirectPort="443" scheme="http"
secure="false" />
      </Service>
     </Server>
    </attribute>
  </mbean>





> -----Message d'origine-----
> De: Dan Feltham [mailto:[EMAIL PROTECTED]]
> Date: mardi 29 janvier 2002 15:12
> �: Jboss-User@Lists. Sourceforge. Net
> Objet: [JBoss-user] JBoss-2.4.4_Tomcat-4.0.1-beta - Algorithm SunX509
> not available
> 
> 
> Hi
> 
> I have been trying to configure JBoss to use SSL by following the
> instructions in the documentation I purchased. However I keep 
> on getting
> the following exception when I start JBoss. Does anyone have any ideas
> what I might be doing wrong. I have added a certificate to 
> the keystore
> using the keytool.
> 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to