Skip to content

Instantly share code, notes, and snippets.

@vanduc1102
Last active August 29, 2015 14:21
Show Gist options
  • Save vanduc1102/57e92aea94132910978e to your computer and use it in GitHub Desktop.
Save vanduc1102/57e92aea94132910978e to your computer and use it in GitHub Desktop.
Jboss HTTPS Configuration.
<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>
C:\jdk1.7.0_60_x64\bin\keytool -genkey -alias localhost -keyalg RSA -keystore localhost.keystore -validity 10950
@vanduc1102
Copy link
Author

First Name and Last Name should be the computer name.

Example: _local.pc12_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment