Posts

Showing posts with the label Enable SSL in jboss with self-signed or test certificate

Enable SSL in jboss with self-signed or test certificate

Image
Enable SSL in jboss with self-signed or test certificate 1.        Fist set Environment variable for system      set PATH="C:\Program Files\Java\jdk1.6.0_06\jre\bin";%PATH% 2.        jBoss recommends using the same file as both keystore and trustore.  This will be server.keystore.  In a virgin install there should be no server.keystore in the default/conf folder.  If you have one, you must decide whether to delete it (to use these instructions) or whether to adapt the instructions to suit your situation. Creating the keystore and private key: Open a command prompt or shell and go to the  default/conf  folder. keytool -genkey -alias jbosskey -keypass changeit -keyalg RSA -keystore server.keystore Answer the prompts.  Use  myHostname  when asked for first/last name.  This is critical. server.keystore  is generat...