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개 답변
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠