[root@rhce-ryanrudolf]# rm -rf / 2> /dev/null

things I break/fix for fun and learning

Jan 19, 2019 - 1 minute read - Comments

SSL Certificate Expired

I tried to access my website today and my browser gave me a nice warning message - NET:ERR_CERT_DATE_INVALID. Upon seeing that error, I knew that my SSL certificate from letsencrypt has expired. I received an email about it a few days ago, but missed out on renewing it before the expiry date!

Here is how it looks like when I tried to access it earlier today. Screenshot on the left. Quick fix is to login to my webserver and renew the certificate via letsencrypt.

SSL Cert Error

I don’t know the command by heart, but I know that by issuing certain parameters you can access a simple “help” menu. By doing letsencrypt --help it shows up a nice help menu of the possible options to use. Since I need to renew my certificate, I went ahead and entered letsencrypt renew. It did it’s magic of renewing the certificate.

SSL Certificate Renewed

Once it is done renewing the certificates, I refreshed my browser and it works! No more error!

SSL in use and site working

Like this page? Share it!