Problem: Let’s Encrypt certificate expired
Time: 1 minute
Solution:
All you have to do is run a single command:
sudo /opt/bitnami/bncert-tool
Enter the domain names of your website and press enter.
I choose to enable HTTP -> HTTPS redirection, because I want users to use the https version of the site.
I also went with www to non-www redirection because I already have a dns rule that points all www requests to the non-www address, so this should make no real difference but seems simpler to me.

Now you simply agree to the changes.

And agree to the terms and conditions, then you are all set!