ADFS Logon Error

Working with an Office 365 tenant where the authentication was configured with on-prem ADFS servers and all users were getting the following error:

The event logs showed the following two errors:

To correct the certificate issue I ran the following:

The event logs now showed:

The WAP server is now showing healthy: