Edge for Private Cloud 4.17.05 版
如果您使用間接繫結,則必須在 management-server.properties 中提供外部 LDAP 使用者名稱和密碼,Apigee 會使用這些資訊登入外部 LDAP 並執行間接憑證搜尋。
以下說明如何加密密碼:
- 執行下列 Java 公用程式,並將
替換為實際的外部 LDAP 密碼:
java -cp /opt/apigee/edge-gateway/lib/thirdparty/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/infra/libraries/* com.apigee.util.CredentialUtil --password="" - 在指令的輸出內容中,您會看到一個換行,後面接著一串隨機字元。複製該字串。
- 編輯 /opt/apigee/customer/application/management-server.properties。
- 更新下列屬性,將
替換為您在上述步驟 2 複製的字串。
conf_security_externalized.authentication.indirect.bind.server.admin.password= - 請務必將下列屬性設為 true:
conf_security_externalized.authentication.indirect.bind.server.admin.password.encrypted=true - 儲存檔案。
- 重新啟動管理伺服器:
>/opt/apigee/apigee-service/bin/apigee-service edge-management-server restart - 確認伺服器是否正在運作:
> /opt/apigee/apigee-service/bin/apigee-all status
測試安裝
請參閱「啟用外部驗證」一文結尾的測試部分,並執行其中所述的相同測試。