Skip to content

Instantly share code, notes, and snippets.

@vanduc1102
Created May 26, 2015 06:43
Show Gist options
  • Save vanduc1102/ef07e464449cb504e46b to your computer and use it in GitHub Desktop.
Save vanduc1102/ef07e464449cb504e46b to your computer and use it in GitHub Desktop.
Https Jboss XML
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment