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

things I break/fix for fun and learning

Mar 5, 2018 - 1 minute read - Comments

Renewing Expired HTTPS Certificates using certbot

I tried to access my personal site and I was greeted by this nasty warning message -

This server could not prove that it is ryanrudolf.duckdns.org; its security certificate expired yesterday. This may be caused by a misconfiguration or an attacker intercepting your connection. Your computer’s clock is currently set to Monday, March 5, 2018. Does that look right? If not, you should correct your system’s clock and then refresh the page.

I need to renew the certificate using certbot. But I don’t know / memorize the command by heart, so in turn I use the –help options. And it gives a lot of info!

certbot –help

What I need is the renew command, so a simple command like this should renew the certificates -

certbot renew

It renewed the certificates without error, and when I try to visit the site, everything looks OK again. No more certificate errors!

Like this page? Share it!

New NIC to the Rescue My Battlestation

comments powered by Disqus