가져온 인증서가 있는 Amazon ACM 'CertificateNotFound' `describe-certificate`는 잘 작동합니다.

가져온 인증서가 있는 Amazon ACM 'CertificateNotFound' `describe-certificate`는 잘 작동합니다.

내 인증서를 Amazon ACM으로 가져왔습니다.

aws --region us-west-2 acm import-certificate \
  --certificate file://my_cert.crt \
  --certificate-chain file://vendor_ca.crt \
  --private-key file://private_key.key

그러면 인증서 ARN이 제공됩니다. explain-certificate 명령을 사용하면 모든 세부 정보를 볼 수 있습니다.

aws --region us-west-2 acm describe-certificate --certificate-arn "<my-certificate-arn>"

ELBv2에 인증서를 추가하려고 하면 오류가 발생합니다 CertificateNotFound.

aws --region=us-west-2 elbv2 add-listener-certificates \
  --listener-arn "<my-listener-arn>" \
  --certificates "CertificateArn=<my-certificate-arn>"

An error occurred (CertificateNotFound) when calling the AddListenerCertificates operation: Certificate '<my-certificate-arn>' not found

(이 게시물의 arn ID를 수정했지만 실제로는 복사/붙여넣기 방식이 동일합니다.)

인증서가 분명히 있습니다. 분명히 뭔가 잘못되었습니다. 이 오류 없이 작동하는 다른 인증서가 있습니다. 이 문제를 추가로 해결하고 문제가 무엇인지 찾을 수 있는 방법이 있습니까?

답변1

@JonoCoetzee가 제안했듯이 내 문제는 인증서가 4096비트이고 ELB가 해당 인증서와 작동하지 않으며 약간 오해의 소지가 있는 오류 메시지를 표시한다는 것입니다.

관련 정보