How do I configure my CloudFront distribution to use an SSL/TLS certificate?

2 minutos de lectura

I want to configure my Amazon CloudFront distribution to use an SSL/TLS certificate.


CloudFront assigns a default domain name to your distribution, for example, If you use this domain name, then you can use the CloudFront default SSL/TLS certificate already selected for your distribution. If you use a different domain name for your distribution, then it's a best practice to do one of the following to avoid domain-name-related certificate warnings:

If you use an Amazon issued certificate:

  • You must request the certificate in the US East (N. Virginia) Region.
  • You must have permission to use and request the ACM certificate.

If you use an imported certificate with CloudFront:

Note: If you are missing permissions, the CloudFront console displays Missing permission acm:ListCertificates in the Custom SSL Certificate settings. If you don't have a certificate in the US East (N. Virginia) Region, or if your key size exceeds 2048 bits, the setting for Custom SSL Certificate is grayed out.

For more information, see requirements for using SSL/TLS certificates with CloudFront.

Then, configure your CloudFront distribution to use the new certificate and require HTTPS between viewers and CloudFront. For more information, see viewing and updating CloudFront distributions.

After you save the changes to your CloudFront distribution configuration, CloudFront propagates the changes to all edge locations. The status of your CloudFront distribution in the CloudFront console changes from InProgress to Deployed when propagation is complete.

If you require HTTPS for communication between CloudFront and your custom origin, then you can also use SSL/TLS certificates on a custom origin

To update settings for your CloudFront distribution, see updating your CloudFront distribution.

Related information

AWS Certificate Manager benefits

Issuing and managing certificates

How can I troubleshoot issues with using a custom SSL certificate for my CloudFront distribution?

Clients are receiving certificate error messages when trying to access my website using HTTPS connections. How do I resolve this?

OFICIAL DE AWSActualizada hace 2 años