Hi

I'm having problems trying to imlement SSL redirection using the
JBoss-2.4.4 Tomcat 4.0.1 bundle. I have the redirection working from
port 80 to 443 using the following configuration:

<mbean code="org.jboss.security.plugins.JaasSecurityDomain"
name="Security:name=JaasSecurityDomain,domain=ssl">
                <constructor>
                        <arg type="java.lang.String" value="ssl"/>
                </constructor>
                <attribute
name="KeyStoreURL">beachbag.keystore</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="Port">80</attribute>
        <attribute name="RedirectPort">443</attribute>
        <attribute name="Config">
                <Connector
className="org.apache.catalina.connector.http.HttpConnector" 
                        port="443" minProcessors="5" maxProcessors="75" 
                        enableLookups="true" 
                acceptCount="10" scheme="https" secure="true">
                <Factory
className="org.jboss.web.catalina.security.SSLServerSocketFactory" 
                        securityDomainName="java:/jaas/ssl"/>
                </Connector>
        </attribute>
  </mbean>

However if I try changing the port to 8080 the redirection stops
working. When I try to navigate to a page that I have declared as
CONFIDENTIAL I get a 404 error. Has anyone else has this problem, or got
any suggestions for solving it. I need to be able to run tomcat on 8080
so that I can use Apache on port 80!

Thanks

Dan Feltham

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

Reply via email to