The moose likes JBoss/WildFly and the fly likes SSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "SSL" Watch "SSL" New topic


Simon Joseph Aquilina
Ranch Hand

Joined: Feb 14, 2006
Posts: 102
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!

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?

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Simon Joseph Aquilina
Ranch Hand

Joined: Feb 14, 2006
Posts: 102

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.
I agree. Here's the link:
subject: SSL
It's not a secret anymore!