This SharePoint tutorial explains, how to resolve 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 which comes in event viewer in SharePoint 2013.
The error looks like below:
Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Task Category: Topology
Level: Critical
Keywords:
Description:
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 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
<EventID>8321</EventID>
<Version>15</Version>
<Level>1</Level>
<Task>13</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-07-07T09:40:49.606550300Z" />
<EventRecordID>123662</EventRecordID>
<Correlation ActivityID="{E925A29C-3F2F-2077-ACE7-2C7271B8B212}" />
SharePoint event error 8321
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: Expand 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
SharePoint 2013 event id 8321
Now, we will see another solution on how to resolve an error, 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.
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: Expand 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
You may like following SharePoint tutorials:
- DCOM was unable to communicate with the computer name using any of the configured protocols
- A timeout 30000 milliseconds was reached while waiting for a transaction response from the SPWriterV4 service
This is how we can solve error, A certificate validation operation took milliseconds and has exceeded the execution time threshold sharepoint event error 8321.