1 Reply Latest reply: Apr 2, 2008 5:49 AM by erasmo2 marciano2 RSS

Httpd + mod_ssl + Jboss

i gain Newbie

Hi All,

We are using jboss 4.2 and fronting it with Apache2 + mod_jk as a load balancer.

Everything is working fine so far. Now we need install SSL cert in our application.

I tried to install it on embedded tomcat inside jboss but when i try to access my application "page cannot be displayed" error coming in browser.

And if i access the application directly from jboss without using apache2 SSL is working fine.

I tried to debug mod_jk and found that response code is coming as 302 and it tried to redirect to https based URL but in browser i see page cannot be displayed error.

Is there any other configuration that i need to do in apache.

Would appreciate any help.

Web server Env is : Apache2.0.52, mod_ssl-2.0.52, mod_jk1.2
App server env is : Jboss 4.2

  • 1. Re: Httpd + mod_ssl + Jboss
    erasmo2 marciano2 Master

    Try to

    Apache + ssl (enables everything about ssl)
    Jboss +ssl (enables everything about ssl)

    In the htttp.conf you can configure VirtualHost
    with the module jk, apache communicates with Jboss


    SSLEngine on
    SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt
    SSLCertificateKeyFile /usr/local/apache2/conf/ssl.crt/server.key
    # Should mod_jk send SSL information to Tomcat (default is On)
    JkExtractSSL On
    # What is the indicator for SSL (default is HTTPS)
    JkHTTPSIndicator HTTPS
    # What is the indicator for SSL session (default is SSL_SESSION_ID)
    # What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
    # What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)