서드 파티 인증서를 인증서 관리자로 마이그레이션

이 튜토리얼에서는 인증서 관리자를 사용하여 서드 파티 인증서를Google Cloud 부하 분산기로 마이그레이션하는 방법을 보여줍니다.

다운타임 없이 서드 파티 인증서를 마이그레이션하려면 서드 파티 인증서와 동일한 수의 Google 관리형 인증서를 만드세요. 그런 다음 인증서를 단일 인증서 맵으로 통합하고 DNS를 사용하여 인증서 맵을 부하 분산기에 배포합니다. 마지막으로 부하 분산기의 IP 주소를 가리키도록 DNS A 및 AAAA 레코드를 업데이트합니다.

지원되는 부하 분산기 목록을 확인하려면 인증서 관리자 개요를 참고하세요.

목표

이 튜토리얼에서는 다음 작업을 완료하는 방법을 보여줍니다.

  • DNS 승인을 사용하여 Google 관리형 인증서를 만듭니다.
  • 모든 인증서에 대해 하나의 인증서 맵을 만듭니다.
  • DNS를 사용하여 부하 분산기에 인증서를 배포합니다.
  • 부하 분산기의 IP 주소를 가리키도록 DNS A 및 AAAA 레코드를 업데이트합니다.

시작하기 전에

  1. Google Cloud 계정에 로그인합니다. Google Cloud를 처음 사용하는 경우 계정을 만들고 Google 제품의 실제 성능을 평가해 보세요. 신규 고객에게는 워크로드를 실행, 테스트, 배포하는 데 사용할 수 있는 $300의 무료 크레딧이 제공됩니다.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  3. Verify that billing is enabled for your Google Cloud project.

  4. Enable the Compute Engine, Certificate Manager APIs.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the APIs

  5. Google Cloud CLI를 설치합니다.

  6. 외부 ID 공급업체(IdP)를 사용하는 경우 먼저 제휴 ID로 gcloud CLI에 로그인해야 합니다.

  7. gcloud CLI를 초기화하려면, 다음 명령어를 실행합니다.

    gcloud init
  8. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  9. Verify that billing is enabled for your Google Cloud project.

  10. Enable the Compute Engine, Certificate Manager APIs.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (