Share via

A certificate validation operation took n milliseconds and has exceeded the execution time threshold, SHAREPOINT

Ardan Zaki 236 Reputation points
2022-12-30T10:16:14.397+00:00

Hi, I have this problem when I'm Logging in.

275102-screenshot-20221230-171021.png

I have tried the Import the SharePoint Root Authority certificate solution from https://learn.microsoft.com/en-US/sharepoint/troubleshoot/sites/site-slowness-because-of-sts-certificate-crl-checking and it still got the same problem.

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows

Answer accepted by question author
  1. Emily Du-MSFT 51,986 Reputation points Microsoft External Staff
    2023-01-02T08:47:25.317+00:00

    @Ardan Zaki

    Please follow below tips to troubleshoot the issue.

    1.Go to “Computer Configuration -> Windows Settings -> Security Settings -> Public Key Policies -> Certificate Path Validation Settings" -> Properties -> Uncheck "Automatically update certificates in the Microsoft Root Certificate Program(recommended)" in the Network retrieval tab

    2.In order to resolve this problem, the local trust relationship has to be created. This can be done by running the following PowerShell commands:

     $rootCert = (Get-SPCertificateAuthority).RootCertificate     
     New-SPTrustedRootAuthority -Name  "localNew" -Certificate  $rootCert  
    

    After running the above commands, perform an IISReset on all servers in the farm.

    3.Go to C:\Windows\System32\drivers\etc -> Add an entry in the host file for 127.0.0.1 crl.microsoft.com

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    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.


0 additional answers

Sort by: Most helpful

Your answer

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