Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an application running in JBoss 7 AS and I would like to front it with Apache HTTPD on the same server.

The application is running in HTTP and I would like to have Apache on HTTPS. So, all requests beginning with https://myserver.mydomain/jboss_app should be redirected to http://127.0.0.1:8080/jboss_app appropriately.

I have installed the SSL certificate on Apache.

  1. Do I need to install it on JBoss also?
  2. What would the rewrite rule look like?
  3. Or, is it something else that I need to do?
share|improve this question

migrated from stackoverflow.com Oct 19 '12 at 11:09

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

I figured it out myself.

  1. We do not need to install the certificate on JBoss.
  2. There is no rewrite rule change from what we did when we front end with http, except that we need to mention that the redirection is from https.
  3. We need to take care that the application is written / configured properly to support such redirections. (This was specifically the problem with my configuration).
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.