Error: ERR_CERT_COMMON_NAME_INVALID

0

AWS keeps changing my certificate.

When my browser tries to make a request to the API, sometimes it changes the common name to: Common Name (CN) *.t-64e51873.kinesisvideo.us-east-1.amazonaws.com

Minutes later it changes to the correct one: Common Name (CN) api.centroproinf.com.br

I don't know what to do anymore, because I don't use load balancing! Can someone help me?

asked 22 days ago41 views
1 Answer
1
Accepted Answer
  1. Check Your DNS Configuration: Verify that the DNS records for api.centroproinf.com.br are correctly pointing to your intended AWS service (e.g., an EC2 instance, API Gateway, etc.).

Ensure that there are no conflicting CNAME or A records pointing to other AWS services like Kinesis or another API endpoint that could cause the certificate to change.

  1. Verify ACM Certificate Associations:

If you are using AWS Certificate Manager (ACM) for your SSL certificates, ensure that the correct certificate is associated with your domain. Check that the certificate is correctly attached to the service you are using (e.g., API Gateway, CloudFront, etc.).

Ensure there are no old or incorrect certificates associated with your domain.

  1. Check for Wildcard Certificate Conflicts:

If your domain is using a wildcard certificate (e.g., *.centroproinf.com.br), ensure that no other services (like Kinesis Video Streams) are inadvertently being matched by this wildcard and serving their own certificate.

  1. Review SSL/TLS Settings in Your Browser or Client:

Ensure that your browser or client is not caching old certificate information. Clear the SSL state in your browser, or use a different browser or incognito mode to see if the issue persists.

profile pictureAWS
EXPERT
Deeksha
answered 22 days ago
profile picture
EXPERT
reviewed 22 days ago
profile picture
EXPERT
reviewed 22 days ago
profile picture
EXPERT
reviewed 22 days ago
  • Thank you very much for your answer, thanks to it I went to check my IPs and I saw that I had a private IPv4 that I could define in the website's https settings. Since then, my website has not gone down anymore. But api.centroproinf.com.br no longer works within the AWS server. I finally solved my problem.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions