Skip to content

Instantly share code, notes, and snippets.

@albertoaflores
Created June 18, 2012 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save albertoaflores/2950149 to your computer and use it in GitHub Desktop.
Save albertoaflores/2950149 to your computer and use it in GitHub Desktop.
Proper configuration for 2-way SSL in JBOSS 7.1.1.
...
<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"/>
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="http" secure="true">
<ssl key-alias="foo" password="YOUR_KEYSTORE_PASSWORD"
certificate-key-file="YOUR_KEYSTORE_FILE"
verify-client="true"
ca-certificate-file="YOUR_TRUSTORE_FILE"
ca-certificate-password="YOUR_TRUSTORE_PASSWORD"
truststore-type="YOUR_TRUSTORE_TYPE"/>
</connector>
...
</subsystem>
...
@clurect
Copy link

clurect commented Jul 22, 2013

your socket-binding for https is set to http

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