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 Antwort
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen