NET::ERR_CERT_COMMON_NAME_INVALID with Cloud front

0

I have an S3-hosted static website and a Cloud Front distribution. THere is an A record in Route 53 pointing to the Cloud Front distribution. When I created the distribution, I accepted the default setting for the certificate and I selected the origin from the list of s3 buckets.. I did not enter a certificate ID or request a certificate. When I attempt to browse to the site with Chrome, I get NET::ERR_CERT_COMMON_NAME_INVALID.

Since there is apparently no way to get information about the default certificate, it is impossible to compare its common name with the domain,

已提問 1 年前檢視次數 1032 次
1 個回答
1

Hello!

You have to create a custom SSL certificate for your domain with ACM (Amazon Certificate Manager) or import into ACM a certificate you already own. You then have to configure the certificate in your distribution settings. Follow the instructions here: https://aws.amazon.com/premiumsupport/knowledge-center/install-ssl-cloudfront/

In order to use a custom domain you have to set up an alternate domain name (CNAME) for your distribution. Here are the instructions: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html

masse
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南