Certificate Management / MID server error

DomDerr
Tera Contributor

Hello,

 

We are in the process of implementing Certificate Manager.
We have a MID server that executes commands on an ADCS server.

 

We are experiencing random errors with a vague message. (sometimes works/sometimes not)
Do you have any information or solutions that could help us get more details to solve this issue?

Stack Trace: at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()
at System.Management.Automation.Cmdlet.DoBeginProcessing()
at System.Management.Automation.CommandProcessorBase.DoBegin()



Thank you.


 

 

3 REPLIES 3

amit_bt
Tera Expert

The stack trace you provided points specifically to a failure during the WMI initialisation phase on the MID server when attempting to communicate with the ADCS server. This typically occurs during the credential check or classification phase of the ServiceNow Certificate Manager process.

Step to follow:
Restart the MID Server Service
Enable Debug Logging
Validate WMI Connectivity Manually
Log into the MID Server host using the same service account used by ServiceNow.
Run the following PowerShell command to test the connection to the ADCS server:

powershell
Get-WmiObject -Class Win32_OperatingSystem -ComputerName "ADCS_SERVER_IP" -Credential (Get-Credential)

Tanushree Maiti
Tera Patron

1)Validate the permission . Refer  Microsoft AD spoke – Permissions required to execute actions - Support

and Troubleshooting KB0829224 Microsoft AD spoke – Permissions required to execute actions 

2)KB0830548 Microsoft AD Spoke – Common Issues & their workarounds 

3) Ensure the target ADCS server's IP address is included in the MID Server's IP Ranges related list

Refer: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0726923#:~:text=Symptoms,Prop....

 

Also Refer : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0744261#:~:text=You%20can%20a...

 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Hi,

We redeployed the certificate management module, and it is now working.
We don’t have any explanation.


Thanks for support.


Regards,
Dominique

Regards,

dominique