NET::ERR_CERT_AUTHORITY_INVALID with ACM cert

0

My current architecture: route53 -> cloudfront -> s3,ec2

The s3 is serving the static web hosting, react website while the ec2 is serving the api.

I bought my domain name on goDaddy, and got the ACM to issue the cert with the domain name. The cloudfront is configured with the SSL certificate, while the ec2 and s3 behind the cloudfront are communicating via HTTP. Now when I'm accessing to my website, it throws the not secure https, and NET::ERR_CERT_AUTHORITY_INVALID. The route53 has two A records for my domain like domain.com and subdomain.domain.com. The cloudfront got the alternative domain name set to my domain name.

https://www.ssllabs.com/ssltest/ I have used this ssl test to test out my website where its doing pretty good so it might not be problem for the SSL. Enter image description here

The certificate issued by ACM is not expired yet, got 2 more years to go. What could be the problem for this? Is the communication between cloudfront and s3 via HTTP causing the issue? Any help is appreciated.

Kai
질문됨 3달 전149회 조회
1개 답변
0

Make sure the date and time is correct on your PC. If SSL labs is reporting it as Ok then it sounds like a PC issue. Make sure you have no host file entries pointing to directly to your EC2.

profile picture
전문가
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠