Last active
August 29, 2015 14:21
-
-
Save vanduc1102/57e92aea94132910978e to your computer and use it in GitHub Desktop.
Jboss HTTPS Configuration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"> | |
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443"/> | |
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true"> | |
<ssl name="localhost-ssl" key-alias="aavn-ws-115" password="123456" certificate-key-file="${jboss.server.config.dir}/localhost.keystore" protocol="TLSv1"/> | |
</connector> | |
<virtual-server name="default-host" enable-welcome-root="true"> | |
<alias name="localhost"/> | |
</virtual-server> | |
</subsystem> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\jdk1.7.0_60_x64\bin\keytool -genkey -alias localhost -keyalg RSA -keystore localhost.keystore -validity 10950 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First Name and Last Name should be the computer name.
Example: _local.pc12_