- Newest
- Most votes
- Most comments
When an Amplify-managed SSL certificate suddenly stops working after functioning correctly, there are several potential causes and solutions to consider:
-
Certificate Expiration: Amplify-managed certificates are valid for 13 months and should renew automatically. However, if the CNAME verification record in your DNS settings has been modified or deleted, Amplify cannot renew the certificate. In this case, you need to delete and re-add the domain in the Amplify console.
-
DNS Record Issues: Verify that all required DNS records (CNAME and A records) are correctly configured in your NameCheap account. Use tools like MxToolbox or dig to confirm that your DNS changes have propagated globally.
-
Conflicting DNS Records: Check for any conflicting records (duplicate CNAMEs or A records) that might interfere with the SSL configuration.
-
DNS Propagation: Some users might experience issues if DNS changes haven't fully propagated across all networks. This can take up to 48 hours in some cases.
-
CloudFront Distribution Problems: Since Amplify creates a CloudFront distribution for custom domains, there could be an issue with how your domain is associated with this distribution.
Troubleshooting steps:
- Navigate to "Hosting > Custom Domains > Actions > View DNS records" in your Amplify console to verify the required DNS records
- Check if the CNAME verification records are still present in your NameCheap DNS settings
- Try completely removing the custom domain from Amplify, clearing all related DNS records from NameCheap, and then re-adding the domain following the setup process again
- Ensure there are no proxy services (like Cloudflare) that might be interfering with the SSL configuration
If these steps don't resolve the issue, you may need to contact AWS Support for further investigation of your specific configuration.
Sources
SSL certificate is expired (Certificate managed by Amplify) | AWS re:Post
AWS Amplify DNS issue | AWS re:Post
Amplify fails on SSL Configuration | AWS re:Post
Timeout when creating custom domain on AWS amplify | AWS re:Post
answered a year ago
