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
Next revision
Previous revision
jboss_centos7 [2015/07/07 13:19] herwarthjboss_centos7 [2015/07/07 19:09] (current) herwarth
Line 117: Line 117:
 </code> </code>
 ====Create admin user==== ====Create admin user====
-# edit add-user.properties to allow weaker passwords+Edit add-user.properties to allow weaker passwords
 <code> <code>
 su - jboss su - jboss
Line 123: Line 123:
 ./add-user.sh ./add-user.sh
 </code> </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>
 +{{tag>centos}}
  
jboss_centos7.1436275177.txt.gz · Last modified: by herwarth