Yesterday was the day that the TLS certificate of my Synology NAS expired. And since I have no monitoring to alert me, I only found out today. The bad news: HSTS was also enabled so my browser did not want to connect, even though I told it to ignore the invalid certificate. The good news: the SSH service was enabled. This allowed me to fix this situation via the command line interface (CLI).
This post will explain what my workflow looks like when using the command line interface (CLI) for Amazon Web Services (AWS) when multi-factor authentication (MFA) is required.