Red Hat Training

A Red Hat training course is available for Red Hat JBoss Enterprise Application Platform

3.2.2. 2.SSL/TLS URL およびセキュリティーレルムを使用してアウトバウンド LDAP 接続を作成

LDAP サーバーへのアウトバウンド接続の作成 で定義されたプロセスと同様に、アウトバウンド LDAP 接続を作成する必要がありますが、LDAP サーバーの SSL/TLS URL と SSL/TLS セキュリティーレルムを使用します。

LDAP サーバーのアウトバウンド LDAP 接続および SSL/TLS セキュリティーレルムを作成したら、その情報でアウトバウンド LDAP 接続を更新する必要があります。

SSL/TLS URL でアウトバウンド接続を追加する CLI の例

/core-service=management/ldap-connection=ldap-connection/:add( \
search-credential=myPass, \
url=ldaps://LDAP_HOST:LDAP_PORT, \
search-dn="cn=search,dc=acme,dc=com")

SSL/TLS 証明書を使用したセキュリティーレルムの追加

/core-service=management/ldap-connection=ldap-connection:write-attribute( \
name=security-realm,value="CertificateRealm")

reload

結果の XML

<outbound-connections>
  <ldap name="ldap-connection" url="ldaps://LDAP_HOST:LDAP_PORT"
  security-realm="CertificateRealm"
  search-dn="cn=search,dc=acme,dc=com"
  search-credential="myPass" />
</outbound-connections>

注記

上記の CLI コマンドは、JBoss EAP 6 のスタンドアロンインスタンスを想定して実行されました。JBoss EAP 6 ドメインでの CLI の使用の詳細は、Red Hat JBoss Enterprise Application Platform 6 Administration and Configuration GuideThe Management CLI セクションを参照してください。