The error message:
Event Type: WarningEvent Source: MSExchangeTransportEvent Category: TransportService Event ID: 12017Description:A direct trust certificate will expire soon. Thumbprint:<thumbprint>, hours remaining: <some number>
Summary Solution:
More information: http://technet.microsoft.com/en-us/library/bb217963.aspx
More information:
To resolve this warning, you must use the New-ExchangeCertificate cmdlet to create a new internal transport certificate (also referred to as a direct trust certificate) on the computer that returned this Warning event. Running the New-ExchangeCertificate cmdlet with no arguments creates an SMTP-enabled internal transport certificate for direct trust. For more information, see New-ExchangeCertificate.
If this warning occurred on a Hub Transport server, you must create the internal transport certificate on the Hub Transport server where the warning occurred. After you have created the certificate, restart the Microsoft Exchange EdgeSync service to update the certificate information on the Edge Transport servers that are subscribed to the organization. (I also ran Start-EdgeSynchronization on my hub server to be safe.)
If this warning occurred on an Edge Transport server, you must create the internal transport certificate on the Edge Transport server where the warning occurred. After you have created the certificate, resubscribe the Edge Transport server to the Exchange organization to update the certificate information in Active Directory.