Skip to content

Connection is not secure, but certificate is valid ?

0

Hi, It started with a website not loading (EC2 instance web app). After cleaning cookies, I can keep using the website, but the chromium based browser shows me clearly that the certificate is invalid (with red cross, including the ERR_CERT_DATE_INVALID message in dev tools console). But the details of the certificate show me that it's within allowed/valid times of "not Before" and "not After"! I initiated a new public certificate to see if I can refresh the certificate on the existing CloudFront distributions, AWS console shows no errors, the validation passed with DNS CNAME records without errors. I scratch my head not understanding what's happening. Can you help?

The certificate was issued for a single domain name with wildcard subdomain and with an explicitly written and used subdomains. Screenshot of the failing certificate

2 Answers
0
Accepted Answer

@ Riku_Kobayashi thank you for the suggestions, as I found out, the certificate for a frontend app was valid, but for the backend deployed with ELB was expired, that showed the console error from requesting the api app. After requesting and attaching a new cert, everything is back to normal.

answered a year ago

0

Hello.

If the SSL certificate has not expired, there may be a problem with the PC you are using to connect.
"ERR_CERT_DATE_INVALID" can also occur due to incorrect time synchronization on your PC.
Therefore, try connecting from a different PC or a different browser to see if the same error occurs.
https://www.siteground.com/kb/err-cert-date-invalid/

Also, although it may not be related, try clearing your CloudFront cache.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html

EXPERT

answered a year ago

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.