Secure Socket Layer (SSL) is a cryptographic protocol that provides communication security over internet.
Configuring self-signed certificate:
Step1:
Creating a self-signed certificate
Open the command prompt and type the following command
Enter the password for your keystore and fill rest of the details, I have entered some sample details for you.
Now my keystore is stored at the location d:\surendra
Step2:
Open server.xml file from following location
JBOSS_HOME/server/Server_Name/deploy/jboss-web.deployer
Step3:
Uncomment the following code
Add the following code:
Step4:
Start the server and access using https://localhost:8443
Click on continue to this website.
That’s it this is how we configure SSL in JBoss.
0 comments:
Post a Comment