Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts
Monday 16 March 2020
Tuesday 13 November 2018
Redirect JBoss on Default HTTPS Port 443
Hi Folks,
Today I'm sharing my learning, how to redirect JBoss on port 443 i.e. default https Port.
For this first you have to enable https on JBoss, I've already shared the post please go through the Enable Https in JBoss.
Later open the standalone.xml and do a small change
Change this tag <socket-binding name="https" port="8443"/>
to <socket-binding name="https" port="443"/>.
restart the server and see the changes.
Today I'm sharing my learning, how to redirect JBoss on port 443 i.e. default https Port.
For this first you have to enable https on JBoss, I've already shared the post please go through the Enable Https in JBoss.
Later open the standalone.xml and do a small change
Change this tag <socket-binding name="https" port="8443"/>
to <socket-binding name="https" port="443"/>.
restart the server and see the changes.
thank you :)
Monday 12 November 2018
Enable HTTPS in JBoss
Hi Folks,
Today I'm sharing my learning to how to Enable HTTPS in JBoss Server.
1. First Generate a self signed SSL Certificate using keytool from command prompt/terminal with the following command.
keytool -genkey -alias awc -keyalg RSA -keystore awc.keystore -validity 365
Here awc is the alias name and the awc.keystore is the the name SSL Certificate and validity is 365 days.
here alias name is the same name as we mentioned while creating the certificate, password same as in the certificate and certificate-key-file is the location of the certificate.
and the port number in the http tag like:
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443"/>
Now re-start the JBoss server and start using the https protocol.
Today I'm sharing my learning to how to Enable HTTPS in JBoss Server.
1. First Generate a self signed SSL Certificate using keytool from command prompt/terminal with the following command.
keytool -genkey -alias awc -keyalg RSA -keystore awc.keystore -validity 365
Here awc is the alias name and the awc.keystore is the the name SSL Certificate and validity is 365 days.
Now place the certificate parallel to standalone.xml, at jboss-eap-6.2\standalone\configuration.
Now edit the standalone.xml, add the following entries just below the http connector.
<connector name="https" scheme="https" protocol="HTTP/1.1" socket-binding="https" enable-lookups="false" secure="true">
<ssl name="foo-ssl" password="Welcome123#" protocol="TLSv1" key-alias="awc" certificate-key-file="../standalone/configuration/awc.keystore" />
</connector>
here alias name is the same name as we mentioned while creating the certificate, password same as in the certificate and certificate-key-file is the location of the certificate.
and the port number in the http tag like:
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443"/>
Now re-start the JBoss server and start using the https protocol.
Thank You :)
Subscribe to:
Posts (Atom)
A Guide to Installing Oracle HR Schema on an Existing Docker Container
Hi Reader, Today I want to share my learning on how to install Oracle HR schema on a existing docker container. Step 1: Download the verif...
-
Hello Fellas, today i'm sharing my learning to how to delete all files and folders in windows. rd /s/q FolderName thank you :)
-
Hello Fellas, Today I'm sharing my source code to find H.C.F. using Java. MyException.java TwoDigit.java Thank You :)
-
see who is the current user. whoami enter the command to change the password. passwd user_name enter the old password. enter the new p...