title: how to configure ssl in wildfly 8.2.0 server?
body: <p>I want secure connection for my web application. So, i want to configure ssl for my wildfly 8.2.0 server. I have created and stored .keystore file in standalone/configuration folder.</p>
  
  <pre><code> $ keytool -genkey -alias foo -keyalg RSA -keystore foo.keystore   -validity 10950
  Enter keystore password: secret
  </code></pre>
  
  <p>Have to add :</p>
  
  <pre><code>&lt;subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"&gt;
  &lt;connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"  redirect-port="443" /&gt;
   &lt;connector name="https" scheme="https" protocol="HTTP/1.1" socket-binding="https" enable-lookups="false" secure="true"&gt;
  &lt;ssl name="foo-ssl" password="secret" protocol="TLSv1" key-alias="foo" certificate-key-file="../standalone/configuration/foo.keystore" /&gt;
  &lt;/connector&gt;
  </code></pre>
  
  <p>in standalone.xml file, but there is tag :</p>
  
  <pre><code>&lt;subsystem xmlns="urn:jboss:domain:remoting:2.0"&gt;
          &lt;endpoint worker="default"/&gt;
          &lt;http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/&gt;
      &lt;/subsystem&gt;
  </code></pre>
  
  <p>When i am replacing this with above specified tags getting errors:</p>
  
  <pre><code>Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[288,106]
  Message: Unexpected element '{urn:jboss:domain:web:1.1}subsystem'
  </code></pre>