Report this

What is the reason for this report?

Getting NET::ERR_CERT_DATE_INVALID on a site I set up

Posted on December 1, 2017

A site I built and am hosting on digital ocean (https://gradient.world/) suddenly start showing a “Your connection is not private” message in chrome with a “NET::ERR_CERT_DATE_INVALID” error. I followed the DO tutorial on setting up SSL here (https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04) . When I run sudo certbot renew --dry-run I get the following logs

Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/gradient.world.conf
-------------------------------------------------------------------------------
Cert not due for renewal, but simulating renewal for dry run
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for gradient.world
http-01 challenge for www.gradient.world
Waiting for verification...
Cleaning up challenges

-------------------------------------------------------------------------------
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/gradient.world/fullchain.pem
-------------------------------------------------------------------------------
** DRY RUN: simulating 'certbot renew' close to cert expiry
**          (The test certificates below have not been saved.)

Congratulations, all renewals succeeded. The following certs have been renewed:
  /etc/letsencrypt/live/gradient.world/fullchain.pem (success)
** DRY RUN: simulating 'certbot renew' close to cert expiry
**          (The test certificates above have not been saved.)

So it seems like the cert is configured to renew properly. Any chance some could help me debug this? Thanks.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I, too, am having this same issue on a certain droplet. Lets Encrypt is saying it’s good to go, but still getting browser errors. @jtittle may be able to help.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.