Certificate invalid in Exchange 2019

Alain Bensimon 46 Reputation points
2021-06-30T12:57:21.88+00:00

Hi.
I have installed Exchange 2019 for testing purposes.
I have purchased a domain name and a certificate.
After I installed it, the status shows: invalid.
Thank you.

111679-110627-image.png

Exchange | Exchange Server | Management
{count} votes

Accepted answer
  1. Joyce Shen - MSFT 16,701 Reputation points
    2021-07-01T02:30:03.45+00:00

    Hi @Alain Bensimon

    Like Andy mentioned above, if we get the invalid status for the certificate imported to Exchange server, we need to make sure the entire chain accessible.

    Please use the command below in EMS to get the detailed information of the invalid certificate, you could share the results here, remember to clear your presonal information

    Get-ExchangeCertificate -Thumbprint "XXXXXXX" | Format-List  
    

    Especially the RootCAType, I see some issue was caused by Unknown RootCA. Just like this thread discussed: Added new SSL cert - showing as "invalid"

    Fix this issue and see how it looks

    You need the Root CA certificate for this. Check it on the vendor website and get it. You have to import it to the certificate console by the following method
    Launch a new Microsoft Management Console (Start -> Run, mmc.exe) and add the Certificates snap-in to it, connecting to the Computer Account for the Local Computer.
    Navigate to Trusted Root Certification Authorities. Right-click on Certificates and choose All Tasks and then Import.

    And if you have performed the operation correctly above, the status changed to "revocation check failed". Check if the CRL paths in the cerificate can be reached. The paths can be found by opening the certificate, click on Details, scroll to 'CRL Distribution Paths' Here you find a path

    CRL Distribution Point
    Distribution Point Name:
    Full Name:
    URL=http://xxx.com/xxx.crl

    Then copy the URL en paste it in Internet Explorer. This path must be resolvable.

    Refer to this link to get more information: Exchange 2013 - Trusted Certificate - Invalid

    In addition, I would recommend you read the article here which introduces about the Exchange certificate include .local extention. It may not lead to the invalid issue, however it's not the suggested way. Even though it may have been possible for them to be issued an SSL certificate with .local names in it today, when that certificate expires it may not be possible to renew it.

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    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.

    1 person found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2021-06-30T13:34:27.327+00:00

    Ensure you have the full certificate chain installed.
    You can download and test:
    https://www.digicert.com/support/tools/certificate-utility-for-windows

    What exact process did you use to create and install the certs? Was it all done with the Exchange Mgmt tools or EAC?


  2. Alain Bensimon 46 Reputation points
    2021-06-30T20:38:08.257+00:00

    You mean to copy it here right?

    110676-image.png


  3. Alain Bensimon 46 Reputation points
    2021-06-30T23:40:46.27+00:00

    I haven't added anything.
    those are 2 new VM's that I've just generated for this lab.
    One Windows server 2019 for DC and one Server 2019 core for exchange.
    Nothing else was added.


  4. Alain Bensimon 46 Reputation points
    2021-06-30T23:42:09.047+00:00

    I'm wondering if the issue couldn't come from the fact that I have used .local extension for the site and the exchange?
    I did add belxchange.com as accepted domain though.

    0 comments No comments

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.