デフォルトでは、JBoss のインストールで SSL はサポートされません。 これは、CA ControlMinder エンタープライズ管理 と JBoss の間の一部の通信が暗号化されないことを意味します。 安全に通信を行うために、SSL を使用するように JBoss を設定できます。
注: JBoss 用に SSL を設定する方法の詳細については、JBoss 製品のドキュメントを参照してください。
例: Windows で SSL 通信用に JBoss を設定する
この例では、安全に通信を行うために SSL を使用する JBoss アプリケーション サーバを設定する方法を示します。
重要: この手順では、JBoss バージョン 4.2.3 および JDK バージョン 1.5.0 を使用して、安全な通信を行うために SSL の使用するように JBoss アプリケーション サーバを設定する方法を説明します。
次の手順に従ってください:
JBoss_HOME¥server¥default¥deploy¥IdentityMinder.ear¥custom¥ppm¥truststore
keytool -storepasswd -new <password> -keystore ssl.keystore -storepass secret
キーストア パスワードを変更するように指定します。 パスワードは 6 文字以上である必要があります。
証明書を追加するキーストア名を指定します。
キーストアの名前を指定します。
キーストアの保護に使用されるパスワードを定義します。
keytool -genkey -alias entm -keystore ssl.keystore -keyalg RSA
コマンドによる鍵ペア(公開鍵と秘密鍵)の作成を指定します。
エントリをキーストアに追加するために、エイリアスを定義します。
鍵ペアの生成に使用するアルゴリズムを指定します。
keytool ユーティリティが起動します。
証明書がキーストアに追加されます。
注: キーストアおよびキー エイリアスには、同一のパスワードを使用する必要があります。
java -cp C:/jboss-4.2.3.GA/server/default/lib/jbosssx.jar org.jboss.security.plugins.FilePassword welcometojboss 13 <password> keystore.password
注: Salt と IterationCount は暗号化されたパスワードの強度を定義する変数です。 この例では、"welcometojboss" は Salt です。また、13 は IterationCount です。
JBossInstallDir¥server¥default¥deploy¥jboss-web.deployer
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!--
<Connector port="18443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
注: コネクタ ポート番号は、必須ソフトウェアまたは CA ControlMinder エンタープライズ管理 のインストール時に指定した JBoss HTTPS ポート番号に対応します。
これで、このタグを編集できるようになりました。
securityDomain="java:/jaas/encrypt-keystore-password" SSLImplementation="org.jboss.net.ssl.JBossImplementation"
JBOss_HOME/server/default/deploy/jboss-web.deployer/META-INF
<mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.security:service=PBESecurityDomain">
<constructor>
<arg type="java.lang.String" value="encrypt-keystore-password"></arg>
</constructor>
<attribute name="KeyStoreURL">${jboss.server.home.dir}/deploy/IdentityMinder.ear/custom/ppm/truststore/ssl.keystore</attribute>
<attribute name="KeyStorePass">{CLASS}org.jboss.security.plugins.FilePassword:${jboss.server.home.dir}/deploy/IdentityMinder.ear/custom/ppm/truststore/keystore.password</attribute>
<attribute name="Salt">welcometojboss</attribute>
<attribute name="IterationCount">13</attribute>
</mbean>
注:: 前の例で、welcometojboss は Salt、13 は UterationCount です。
注: この手順を終えた後、JBoss および CA ControlMinder エンタープライズ管理 への接続には、SSL モードまたは SSL 以外のモードのいずれかを選択できます。
|
Copyright © 2013 CA.
All rights reserved.
|
|