Exchange certificate change

Gareth Davies 276 Reputation points
2022-06-13T19:15:21.287+00:00

I've replaced the certificate used for SMTP/IIS on Exchange servers a number of times, but I always installed and activated the certificate, as in checked the service boxes, as part of a single process and never had an issue. Today, someone else (my boss) decided to add a new certificate 3 days before the old one expired but did not select it for SMTP or IIS. We have a hybrid on prem/O365 setup, and as soon as the new cert was installed on the server email from our scanners (scan to email) and internal web portal stopped flowing to O365 where all of our user mailboxes are hosted.
I had to replace the old cert to get mail flowing again, even though the old cert was still valid.
Is this normal? It's the first time I have come across a new cert that has not been set to be used as the SMTP/IIS cert so I have no previous experience to say if this is how it works.

Exchange Exchange Server Management
Exchange Hybrid management
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2022-06-14T15:31:18.22+00:00

    Yes, from what I have seen, this is expected.
    This still applies :
    https://techcommunity.microsoft.com/t5/exchange-team-blog/how-transport-selects-certificates-for-tls/ba-p/593741

    I always enable for SMTP when installing any cert that could potentially be used for SMTP ( and Choose NO when asked to overwrite)

    You can verify which cert is being used by looking the SMTP protocol logs

    https://learn.microsoft.com/en-us/exchange/mail-flow/connectors/configure-protocol-logging?view=exchserver-2019


1 additional answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,396 Reputation points
    2022-06-14T01:29:51.553+00:00

    @Gareth Davies

    I would suggest you assign IIS and SMTP services to this certificate first. Then run "IISReset" command in CMD, after that rerun HCW to update hybrid configuration. At last, replace certificate on your devices.

    If your device could support multiple certificates and identify which certificate is in use, you could replace certificate before assign services.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.