• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSL

 
Simon Joseph Aquilina
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi want to set SSL on JBOss just for developing. I came accross this article but I really can not understand what exactly I have to do with it!

http://wiki.jboss.org/wiki/Wiki.jsp?page=SSLSetup

Do I really have to answer those questions? And save it in that format? And where do I put it then?

Does anyone has any sample certification file?

Regards,
Sim085
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For SSL, you will need a public/private key. No matter what you need a certificate. To create one you can use the keytool that comes with the JAva SDK. Part of the key asks for company name, your name etc. For development purposes you really can answer them with anything. ALthough for production you want real information. The only field that has a requirement is the country one for it being two characters and follows the Country codes, so you can't make one up.

Then you just go into the server.xml in your tomcat sar directory and use the https configuration that is there and point it to your keystore.

Mark
 
Simon Joseph Aquilina
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Thanks for the information. I just tought it did not understand why i need to leave those questions in the file. I am used to properties files where you have key=value and not questions

I will try filling one of those up and place it where you told me.

Thank You.
Sim085
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic