Community.
I have a web page served by Apache running on a EC2 AWS instance. I am using AWS Certificate Manager with CloudFront to manage SSL/TLS in order to access the web page using HTTPS
My environment:
Domain: some.com.do
AWS Certificate Alternate domain names: some.com.do, *.some.com.do
CloudFront Settings
Name: some.cloudfront.net
Domain names: some.com.do, *.some.com.do
Security policy: TLSv1.2_2021
Origin domain: EC2 public DNS
Origin Protocol: HTTPS only
Minimum origin SSL protocol: TLSv1.2
Viewer protocol policy: Redirect HTTP to HTTPS
Route 53 Settings
some.com.do type A Simple Routing Alias Route to some.cloudfront.net
www.some.com.do type A Simple Routing Alias Route to some.com.do
The page does not load well when using https
And right now, I am getting the error:
502 ERROR
The request could not be satisfied.
CloudFront wasn't able to connect to the origin. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.