5.3. 인증서 기반 인증을 사용하여 다중 제공 복제 구성


인증서 기반 인증이 있는 다중 제공 복제 환경에서 복제본은 인증서를 사용하여 서로를 인증합니다.

사전 요구 사항

  • 호스트, server1.example.comserver2.example.com 모두에 인증서 기반 인증을 설정합니다.
  • Directory Server는 클라이언트 인증서를 발급하는 CA(인증 기관)를 신뢰합니다.
  • 클라이언트 인증서는 서버의 /etc/dirsrv/slapd-instance_name/certmap.conf 에 설정된 요구 사항을 충족합니다.

프로세스

  1. On server1.example.com:

    1. 임시 복제 계약을 제거합니다.

      # dsconf <server1_instance_name> repl-agmt delete --suffix="dc=example,dc=com" temporary_agreement
      Copy to Clipboard Toggle word wrap
    2. cn=repl_servers,dc=groups,dc=example,dc=com bind group을 복제 설정에 추가합니다.

      # dsconf <server1_instance_name> replication set --suffix="dc=example,dc=com" --repl-bind-group "cn=repl_servers,dc=groups,dc=example,dc=com"
      Copy to Clipboard Toggle word wrap
    3. bind 그룹의 변경 사항을 자동으로 확인하도록 Directory Server를 구성합니다.

      # dsconf <server1_instance_name> replication set --suffix="dc=example,dc=com" --repl-bind-group-interval=0
      Copy to Clipboard Toggle word wrap
  2. On server2.example.com:

    1. 임시 복제 관리자 계정을 삭제합니다.

      # dsconf <server2_instance_name> replication delete-manager --suffix="dc=example,dc=com" --name="Replication Manager"
      Copy to Clipboard Toggle word wrap
    2. cn=repl_servers,dc=groups,dc=example,dc=com bind group을 복제 설정에 추가합니다.

      # dsconf <server2_instance_name> replication set --suffix="dc=example,dc=com" --repl-bind-group "cn=repl_servers,dc=groups,dc=example,dc=com"
      Copy to Clipboard Toggle word wrap
    3. bind 그룹의 변경 사항을 자동으로 확인하도록 Directory Server를 구성합니다.

      # dsconf <server2_instance_name> replication set --suffix="dc=example,dc=com" --repl-bind-group-interval=0
      Copy to Clipboard Toggle word wrap
    4. 인증서 기반 인증을 사용하여 복제 계약을 생성합니다.

      # dsconf <server2_instance_name> repl-agmt create --suffix="dc=example,dc=com" --host="server1.example.com" --port=636 --conn-protocol=LDAPS --bind-method="SSLCLIENTAUTH" --init server2-to-server1*
      Copy to Clipboard Toggle word wrap
  3. server1.example.com 에서 인증서 기반 인증을 사용하여 복제 계약을 생성합니다.

    # dsconf <server1_instance_name> repl-agmt create --suffix="dc=example,dc=com" --host="server2.example.com" --port=636 --conn-protocol=LDAPS --bind-method="SSLCLIENTAUTH" --init server1-to-server2
    Copy to Clipboard Toggle word wrap

검증

  1. 각 서버에서 초기화에 성공했는지 확인합니다.

    # dsconf <server1_instance_name> repl-agmt init-status --suffix "dc=example,dc=com" server1-to-server2
    Agreement successfully initialized.
    
    # dsconf <server2_instance_name> repl-agmt init-status --suffix "dc=example,dc=com" server2-to-server1
    Agreement successfully initialized.
    Copy to Clipboard Toggle word wrap
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat