(間接バインディングのみ)外部 LDAP ユーザーのパスワードの暗号化

間接バインディングを使用している場合は、Apigee が外部 LDAP にログインして間接認証情報検索に使用する management-server.properties で、外部 LDAP のユーザー名とパスワードを指定する必要があります。

パスワードを暗号化する手順は次のとおりです。

  1. 次の Java ユーティリティを実行します。YOUR_EXTERNAL_LDAP_PASSWORD は実際の外部 LDAP パスワード(
    java -cp /opt/apigee/edge-gateway/lib/thirdparty/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/infra/libraries/*:/opt/apigee/edge-management-server/conf/ com.apigee.util.CredentialUtil --password="YOUR_EXTERNAL_LDAP_PASSWORD"
    
    )に置き換えてください。/opt/apigee/edge-management-server/conf/ はエッジ管理サーバーの credential.properties ファイルのパスです。
  2. コマンドの出力で、改行の後にランダムな文字列のようなものが表示されます。その文字列をコピーします。
  3. /opt/apigee/customer/application/management-server.properties を編集します。
  4. 次のプロパティを更新します。myAdPassword は、上記の手順 2 でコピーした文字列に置き換えてください。
    conf_security_externalized.authentication.indirect.bind.server.admin.password=myAdPassword
  5. 次のプロパティが true に設定されていることを確認します。
    conf_security_externalized.authentication.indirect.bind.server.admin.password.encrypted=true
  6. ファイルを保存します。
  7. Management Server を再起動します。
    /opt/apigee/apigee-service/bin/apigee-service edge-management-server restart
  8. サーバーが実行中であることを確認します。
    /opt/apigee/apigee-service/bin/apigee-all status

インストールのテスト

外部認証を有効にするの最後にあるテスト セクションを参照して、それと同じテストを行います。