Exchange 2016 Certificate Expiry

In this article we cover the following:

  • Exchange Certificate that is about to expire.

Exchange 2016 Certificate that is expiring or has expired:

On your Exchange 2016 Server you might see the following errors to say that a certificate is about to expire or has already expired. You should see Event ID 12017 Logged:

Exchange 2016 - event id 12017, msexchangefrontendtransport & msexchangetransport
Exchange 2016 - Event ID 12017, MSExchangeFrontEndTransport & MSExchangeTransport 1
Exchange 2016 - event id 12017, msexchangefrontendtransport & msexchangetransport
Exchange 2016 - Event ID 12017, MSExchangeFrontEndTransport & MSExchangeTransport 2

We can check which certificate this is in Exchange 2016 by running the following command from the Exchange Management Shell on the server that is logging this warning:

  • Get-ExchangeCertificate | fl Thumbprint,Subject,Services
Exchange 2016 - event id 12017, msexchangefrontendtransport & msexchangetransport
Exchange 2016 - Event ID 12017, MSExchangeFrontEndTransport & MSExchangeTransport 3

In this case this expiring certificate handles the following services: IIS And SMTP

Renew SSL Certificate in Exchange 2016.

To renew the certificate you can use the EMC or the EMS. You can use the Exchange Management Shell and run the following command and providing the .req file to the certificate authority like DigiCert or GoDaddy:

  • Get-ExchangeCertificate -Thumbprint “<ThumbPrint of expiring cert>” | New-ExchangeCertificate -GenerateRequest -RequestFile \\Server\CertRenewal.req
  • Once the command has run confirm that the .req file was created on the server specified.
  • Once your provider generates the new certificate you can then complete the request.

Assign Services to the new Certificate

Once the new certificate installation has completed we can now assign services to it. In the same EMS window run the following command:

  • Enable-ExchangeCertificate -thumbprint “<ThumbPrint of new Certificate>” -services IIS,SMTP

You can open up IIS and remove the old certificate.

Hope it helps.

    wpChatIcon

    Discover more from COLLABORATION PRO

    Subscribe now to keep reading and get access to the full archive.

    Continue reading