File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes enable https on jboss 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "enable https on jboss 5" Watch "enable https on jboss 5" New topic
Author

enable https on jboss 5

uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

hi all,

my application is running on jboss 5 and accessible on http.
i want it to be accessible over https. please explain me what all are the files which i have to change for this..

thanks & regards
vaibhav
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

I would tell you to read the docs, but I couldn't find that in the docs. I couldn't even find a wiki page on it. But then maybe I don't know the proper keywords for a search (tried SSL and HTTPS to n avail).

JBoss in Action, section 6.4, provides detailed steps.


JBoss In Action
uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

thankyou very much sir..

i was able to to do my job. i created a .certificate file using java keytool utility and put it in /server/default/conf directory and renamed it chap8.keystore.
than uncomment some stuff in /server/default/deploy/jbossweb.sar/server.xml:



thats all i did.
thanks for your response.


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Some time after posting my reply I realized that you could use the Tomcat docs to set up HTTPS. The steps are at http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html.
 
 
subject: enable https on jboss 5