Creating an HTTPS listener fails with `CertificateNotFound: Certificate 'arn:aws:acm:...' not found`.
IntermediateTroubleshootingEC2, Auto Scaling and Load Balancing
Answer
Likely causes → The ACM certificate is in a different Region from the ALB, it is still PENDING_VALIDATION, or the ARN belongs to another account.
Diagnose →
aws acm list-certificates --region us-east-1 \
--query 'CertificateSummaryList[].[DomainName,Status,CertificateArn]'
aws acm describe-certificate --certificate-arn <arn> \
--query 'Certificate.DomainValidationOptions[].[DomainName,ValidationStatus,ResourceRecord]'
Fix →
- Request or import the certificate in the ALB's Region
- Finish DNS validation by creating the CNAME that ACM shows (Route 53 can do it in one click)
- Use the ISSUED ARN in the listener
Prevent → Manage certificates in IaC with aws_acm_certificate_validation, so the listener waits until the certificate is issued.