A certificate validation operation took milliseconds and has exceeded the execution time threshold SharePoint 2013 error

In this post we will discuss how to resolve the issue: A certificate validation operation took 46540.3415 milliseconds and has exceeded the execution time threshold. If this continues to occur, it may represent a configuration issue.

The full error comes as:
Error Message : A certificate validation operation took 46540.3415 milliseconds and has exceeded the execution time threshold. If this continues to occur, it may represent a configuration issue. Please see http://go.microsoft.com/fwlink/?LinkId=246987 for more details.

Event log error :
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Event ID: 8321
Task Category: Topology
Level: Critical
A certificate validation operation took 46540.3415 milliseconds and has exceeded the execution time threshold. If this continues to occur, it may represent a configuration issue. Please see http://go.microsoft.com/fwlink/?LinkId=246987 for more details.




Resolution:

Step-1: Open SharePoint Management Shell and run below command

$rootCert = (Get-SPCertificateAuthority).RootCertificate
$rootCert.Export(“Cer”) | Set-Content C:\root.cer –Encoding Byte

Step-2: Go to Run -> MMC

Step-3: Go to File – > add/remove snap-in

Step-4: In Add remove Snap-in, Click on Certificate and click on Add -> select computer account and click next – > select local computer and click finish

Step-5: Expend Certificate – > Trusted Root Certification Authorities -> Certificate -> right click on certificate -> All task -> select import -> Next -> Browse Certificate –> Next-> Finish

Step-6: Run Gpupdate/force

Step-7: IIS reset

Step-8: Open gpedit.msc and navigate to “Computer Configuration > Windows > Security Settings > Public Key Policies > Certificate Path Validation Settings”. On the Network Retrieval tab, define the policy and uncheck “Automatically update certificates in the Microsoft Root Certificate Program


Hope this will he helpful.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials: