Mitigation Service, Cert, XML, TLS Error

Chris 651 Reputation points
2021-10-05T12:28:10.03+00:00

Hello all,

  1. we became a TLS Error under Mitigation Service Log.

FetchMitigation,S:LogLevel=Warning;S:Message=TLS certificate or its chain validation failed

and solved this with allow Exchange on our Firewall to config.officeapps.live.com

  1. We have an Error under Eventlog An unexpected exception occurred. Diagnostic information:

Exception encountered while fetching mitigations : System.Exception: This XML is not deemed safe to consume since Response xml's signing cert is invalid or not from microsoft
at Microsoft.Exchange.Mitigation.Service.Common.SignatureVerifierUtils.ThrowIfIntegrityChecksFail(SafeXmlDocument xmlDoc)
at Microsoft.Exchange.Mitigation.Service.Common.SignatureVerifierUtils.GetValidatedDocumentWithoutSignature(SafeXmlDocument xmlDoc)
at Microsoft.Exchange.Mitigation.Service.Common.Utils.FetchDataFromXmlStream[T](Stream stream)
at Microsoft.Exchange.Mitigation.Service.Common.Utils.FetchMitigationsFromUrl[T](String url, RemoteCertificateValidationCallback certValidationCallback, X509Certificate clientAuthCert, Boolean isResponseJson)
at Microsoft.Exchange.Mitigation.Service.MitigationCloudServiceV2.FetchMitigations()
at Microsoft.Exchange.Mitigation.Service.Mitigations.MitigationEngine.FetchAndApplyMitigation()

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,342 questions
{count} votes

Accepted answer
  1. Joyce Shen - MSFT 16,641 Reputation points
    2021-10-08T06:24:25.43+00:00

    Hi @Chris

    I got below information according to my search, getting 1008 (This XML is not deemed safe to consume since Response xml's signing cert is invalid or not from microsoft). That is because your firewall, proxy or webfilter is blocking the requests of your Exchange Emergency Mitigation Service. You need to allow all the IPs and/or URLs (depending on your firewall and/or webfilter) of Microsoft, Google and Akamai that it takes to check the XMLs certificate, certificate revocation list, schema and so on.

    You can simulate the behaviour of the EEMS by getting the test page with a browser (https://officeclient.microsoft.com/getexchangemitigations). For those of you not being familiar - look at the schema links in the XML document as well as the certificate of the URL and check all the certificate chaining, revocation lists URLs and so on.

    For the IPs compare the blocked IPs with the following networks and allow them:

    https://www.microsoft.com/en-us/download/details.aspx?id=53602
    https://www.gstatic.com/ipranges/goog.json
    https://github.com/SecOps-Institute/Akamai-ASN-and-IPs-List/blob/master/akamai_ip_cidr_blocks.lst


    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.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Chris 651 Reputation points
    2021-10-06T05:07:47.19+00:00

    Exchange 2016.

    Last changes. Install CU22 with new Feature Mitigation Service

    0 comments No comments

  2. Gerber Raphael 1 Reputation point
    2021-10-06T08:02:07.677+00:00

    we have the same Problem.

    Tried to whiteliste the URL on the WebProxy. But same issue.

    any other idee ?

    0 comments No comments