티스토리 뷰

Dev/WAS

TmaxSoft JEUS - SSL

jami 2012. 12. 11. 10:53


JEUS5 에 SSL 적용. (localhost)

<java설치디렉토리>/bin/keytool 명령어를 사용한다.

  1. SSL Keystore 생성
  2. keytool -genkey -alias jeusssl -keyalg RSA -keysize 2048 -validity 1000 -keystore D:\JEUS5.0\config\<노드명>\sslkeystore

  3. SSL Truststore 생성
  4. keytool -export -alias jeusssl -keystore D:\JEUS5.0\config\<노드명>\sslkeystore -rfc -file D:\JEUS5.0\config\<노드명>\jeusssl.cer

    keytool -import -alias jeussslcert -file D:\JEUS5.0\config\<노드명>\jeusssl.cer -keystore D:\JEUS5.0\config\<노드명>\ssltruststore

  5. JEUSMain.xml 설정 - 각 엔진 컨테이너의 <command-option> 노드에 추가.
  6.   ...
      <engine-container>
           <name>container1</name>
           <command-option>-Djeus.ssl.keypass=jeus123 -Djeus.ssl.trustpass=jeus123</command-option>
      ...

  7. WEBMAIN.xml 설정 - 각 <context-group> 노드 하위 <webserver-connection> 노드에 <http-listener> 노드 추가.
  8.     ...
        <context-group>
            <group-name>PortalGroup</group-name>
            <webserver-connection>
                <http-listener>
                    <listener-id>ssl_portal</listener-id>
                    <port>18092</port>
                    <thread-pool>
                        <min>10</min>
                    </thread-pool>
                    <scheme>https</scheme>
                    <ssl-config>
                        <enable-secure>true</enable-secure>
                        <keystore-file>sslkeystore</keystore-file>
                        <truststore-file>ssltruststore</truststore-file>
                    </ssl-config>
                </http-listener
    >
            </webserver-connection>
        ...


'Dev > WAS' 카테고리의 다른 글

Apache Tomcat - multi instance  (0) 2013.03.27
TmaxSoft JEUS - 기타 설정들  (0) 2013.01.08
TmaxSoft JEUS - WebAdmin  (0) 2013.01.03
JAMWiki 설치(with Tomcat)  (0) 2012.11.27
댓글
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함