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.

已提問 2 個月前檢視次數 140 次
1 個回答
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
專家
已回答 2 個月前

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

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

回答問題指南