导入的 SSL 证书未显示在 CloudFront 中

Imported SSL certificate not showing up in CloudFront

已确保证书在 N.Virginia 区域。 还尝试输入出现此错误的域名:

com.amazonaws.AmazonServiceException: 1 validation error detected: Value '*.domainname.com ' at 'serverCertificateId' failed to satisfy constraint: Member must have length less than or equal to 32 (Service: AmazonCloudFront; Status Code: 400; 

仍然无法找出确切的问题。

提前致谢。

CloudFront 支持 public 密钥长度为 1024 和 2048 位。

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cnames-and-https-requirements.html

您上传的 ACM 证书是 4096 位的,CloudFront 不支持。