Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Enabling SSL on JBoss

 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I enable SSL on JBoss 5 on a Linux (Red Hat - Fedora 8) box?

What I've done so far is:

(1) Create a test keystore by doing this and then answering all the questions.

(2) Placed the newly generated server.keystore in $JBOSS_HOME/server/default/conf

(3) Make the following change in the server.xml in $JBOSS_HOME/server/default/deploy/jbossweb.sar to include this:



What more do I need to do to enable full SSL client authentication?

A lot of the web sites on Google state how to enable SSL for JBoss 3 - 4. I need a good tutorial for JBoss 5.

Happy programming,

James
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this https://coderanch.com/t/452227/JBoss/enable-https-jboss

Also, this looks incorrect in your configuration:



jboss.server.home.dir points to $JBOSS_HOME/server/default (assuming you are starting the default configuration) folder. So that property should be set to:



A lot of the web sites on Google state how to enable SSL for JBoss 3 - 4. I need a good tutorial for JBoss 5.



JBoss AS 5 documentation is scattered across various wiki and forum posts. You can search these places or you can buy the JBoss In Action book by Peter Johnson which concentrates on various configurations in JBoss AS 5.
 
James Dekker
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for all of your help...

Actually, I already did change that to (in $JBOSS_HOME/server/default/deploy/jbossweb.sar/server.xml):



The problem now is that when JBoss starts it logs this exception (during start-up) (but I am still able to view everything under http://localhost:8080/):



I do know that's there's more to be done to enable full SSL client authentication....


 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic