aspose file tools*
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
Author

SSL

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!

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

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Simon Joseph Aquilina
Ranch Hand

Joined: Feb 14, 2006
Posts: 102
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSL