Search code examples
amazon-web-servicesamazon-cloudfront

What should I put in google domain cname record for cloud front certificate?


Reference https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html

Here's info on the certificate I obtained from AWS

AWS Certificate

So the question is what do I put in the cname record at Google where my domain is registered?

I take it the name should be the certificate id followed by a dot and my domain name. I.e.

a0580915-6797-450a-af71-32b2ffb27c30.friendsofbrooklyn.org

but it's not at all clear to me what I should use for the data. I'd guess some part of the ARN but what part and do I need to add anything?

The referenced documents says for example

_98d2646601fa951d53639ac514e785e8.acm-validation.aws.

but my ARN is

arn:aws:acm:us-east-1:456405940529:certificate/a0580915-6797-450a-af71-32b2ffb27c30


Solution

  • Create a new certificate and make sure you select 'DNS Validation' as the option:

    DNS Validation

    As soon as you press 'Request' button, the next page will show the CNAME name and value that you should enter on the Google side:

    enter image description here