简体   繁体   中英

Google Domains and AWS Route 53 and S3 static web hosting - Add SSL Cert

I have a react website that I am hosting using an S3 bucket. I purchased my domain through Google and configured Route 53 so that the domain would navigate to my bucket. (Instructions that I followed: here . I am now trying to add an SSL cert so that it will no longer be "not secure".

I went to AWS to the certification manager and created a cert. After creating it, I was prompted to "send the cert to Route 53" and thought "Could it be this easy?". The answer is no.

That is as far as I have gotten. I see some mentions in other questions of Cloudfront which I know nothing about and wanted to avoid researching something I may not need.

What are my next steps?

I went to AWS to the certification manager and created a cert. After creating it, I was prompted to "send the cert to Route 53" and thought "Could it be this easy?". The answer is no.

Your domain is in Google, not AWS Route53. Thus it didn't work. You have to manually create CNAME records that ACM requires in Google to confirm your certificate. Note. Create it in us-east-1 region .

Once you have your ACM certificate created and confirmed, you have to setup CloudFront (CF) distribution for your S3 website. How to do this is described in the following AWS blogs:

When you will be creating your CF you will have option to provide alternative CNAME . In there you can specify your custom domain from google along with its SSL certificate from ACM.

Once this is setup, you will point your domain in google to the CF distribution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM