Self-signed certificate does not work with Cloudfront

0

Hi, I created a self-signed certificate and then import to AWS ACM. The self-signed certificate work with load balancer. Then I created new one for my front-end app (different subdomain for new FE). When use the certificate for Cloudfront, it says (the alternate domain name and configuration in the certificate is the same): "The certificate that is attached to your distribution doesn't cover the alternate domain name (CNAME) that you're trying to add. For more details, see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-requirements "

Does the Cloudfront not support self-signed certificate? Please give me your advice. Thanks in advance.

asked 2 months ago126 views
1 Answer
0

Hello.

I don't think self-certificates can be used with CloudFront.
https://repost.aws/knowledge-center/cloudfront-invalid-viewer-certificate

Note: Self-signed certificates aren't supported.

profile picture
EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions