So, I've been trying to add my own domain to AWS API Gateway, but cannot add an ACM certificate. Even though I was issued a certificate from the AWS Certificate Manager, I can’t select it from the “Choose a certificate” drop-down selector. It only says “No certificates in eu-west-3 match the domain name you entered”.
Within the AWS Certificate Manager, I see that the status is ”Issued”. What am I doing wrong here? I must be missing something.
Information that might be useful:
- Domain was bought through Google
- The ARN of the certificate contains
arn:aws:acm:eu-west-3:…
. Also the url of both the API gateway and Certificate Manager console containseu-west-3
- The domain I want to use in API Gateway was pasted from the certificate domain field to avoid any typos.
- For what is worth, the domain I want to use is actually a subdomain.
Thanks!!
CodePudding user response:
When issuing the ACM, did you also enter subdomain in the list? Also, its really helpful to issue wild card ACM for domain. eg -
main domain - mydomain.com
sub domain - my.subdomain.com
wild card - *.mydomain.com
With wild card you can map it to any sub domain.
Usually, whenever issuing SSL, it's good to include wildcard asking with main domain. If main domain has different SSL, new wildcard for subdomain should not impact it.