A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
As you had mentioned, you want to disable the certificate, but there is no built-in command in Exchange to disable. You can remove the certificate as it’s not in use.
Use this PowerShell command to do so-
Remove-ExchangeCertificate -Thumbprint <thumbprint-of-expiring-cert>
Double-check that you are removing the correct certificate by its thumbprint before running the command.