User Tools

Site Tools


jboss_centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
jboss_centos7 [2015/07/07 13:27] herwarthjboss_centos7 [2015/07/07 19:09] (current) herwarth
Line 122: Line 122:
 cd jboss-as-eap/bin cd jboss-as-eap/bin
 ./add-user.sh ./add-user.sh
 +</code>
 +====Enable SSL====
 +First create a keystore:
 +  su - jboss
 +  keytool -genkey -alias localhost -keyalg RSA -keystore localhost.keystore -validity 3650
 +
 +  vi /usr/share/jboss-as/jboss-eap/standalone/configuration/standalone.xml
 +<code>
 +.
 +.
 +        <subsystem xmlns="urn:jboss:domain:web:2.2" 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="https" enabled="true">
 +                <ssl name="https" key-alias="localhost" password="test1234" certificate-key-file="/usr/share/jboss-as/localhost.keystore" cipher-suite="TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA" protocol="TLSv1,TLSv1.1,TLSv1.2"/>
 +            </connector>
 +.
 +.
 </code> </code>
 {{tag>centos}} {{tag>centos}}
  
jboss_centos7.1436275669.txt.gz · Last modified: by herwarth