• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Enabling SSL on JBoss

 
Ranch Hand
Posts: 231
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 231
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....


 
Stop it! You're embarassing me! And you are embarrassing this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic