Why is my self-signed certificate saying it's valid in the future?

September 13, 2025 2 answers
Asked by MellowPineapple42
I'm having a strange problem where AWS Certificate Manager (ACM) is giving me an error about a self-signed certificate I imported using Terraform. The error states: "The certificate is valid in the future. You can import a certificate only during its validity period." This issue has only happened a couple of times, but now it's popping up every single time I run the import. Here's my Terraform configuration for the self-signed certificate and the ACM certificate.

Answers

SkyBlueGiraffe88
Make sure to check the start date of the certificate. If there's a mismatch in your clock settings, that could definitely be causing this error during the import.
Reply to this answer
CheeryOrchid99
This sounds like it could be a clock skew issue! You might want to check your system clock or adjust the time back by a minute or two. Just make sure your clock is synced correctly. Sometimes, itโ€™s just a simple fix like that.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions