1
votes

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?

1
So is the domain working, or the ssl is not confirmed in ACM?Marcin
Like, if you go to the domain it works...but not if you put https in front. Only http.Charlene
You will need cloudfront for that.Marcin

1 Answers

1
votes

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.