간접 바인딩만: 외부 LDAP 사용자의 비밀번호 암호화

Private Cloud용 에지 v. 4.16.09

간접 결합을 사용하는 경우 management-server.properties에 외부 LDAP 사용자 이름과 비밀번호를 제공하여 Apigee에서 외부 LDAP에 로그인하고 간접 사용자 인증 정보를 검색하는 데 사용해야 합니다.

다음 단계에서는 비밀번호를 암호화하는 방법을 설명합니다.

  1. 다음 자바 유틸리티를 실행하여 <YOUR EXTERNAL LDAP PASSWORD>를 실제 외부 LDAP 비밀번호로 바꿉니다.
    java -cp /opt/apigee/edge-gate/lib/thirdparty/*:/opt/apigee/edge- Gateway/lib/kernel/*:/opt/apigee/edge-gate/lib/infra/libraries/* com.apigee.util.CredentialUtil --password="<YOUR>
  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

설치 테스트

외부 인증 사용 설정 끝부분에 있는 테스트 섹션을 참조하여 여기에 설명된 것과 동일한 테스트를 실행합니다.