(僅限間接繫結) 將外部 LDAP 使用者的密碼加密

如果您使用的是間接繫結,則需要在 management-server.properties 中提供外部 LDAP 使用者名稱和密碼,讓 Apigee 用來登入外部 LDAP 並執行間接憑證搜尋作業。

請按照下列步驟加密密碼:

  1. 執行下列 Java 公用程式,並將 YOUR_EXTERNAL_LDAP_PASSWORD 替換為實際的外部 LDAP 密碼:
    java -Djava.security.properties=/opt/apigee/edge-management-server/conf/jvmsecurity.properties \
    -cp /opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/infra/services/*:/opt/apigee/edge-gateway/lib/thirdparty/*:/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. 重新啟動管理伺服器:
    /opt/apigee/apigee-service/bin/apigee-service edge-management-server restart
  8. 確認伺服器是否正在執行:
    /opt/apigee/apigee-service/bin/apigee-all status

測試安裝

請參閱「啟用外部驗證」一文結尾的測試部分,並執行該部分所述的相同測試。

測試 FIPS 狀態

如要檢查作業系統是否啟用 FIPS,請執行下列指令:

fips-mode-setup --check

如果輸出內容為「Installation of FIPS modules is not completed. FIPS mode is disabled.」,表示您的作業系統未啟用 FIPS。

請參閱「在啟用 FIPS 的 RHEL 8.X 上使用 Edge for Private Cloud」,瞭解如何在 RHEL 8.X 上啟用 FIPS 模式。