Microsoft CA Discovery fails with credentails not found message

Aju_84
Mega Guru

Tring to perform the discovery of Mictosoft CA certifiate using Serverless discovery with "Microsoft-CA Certifiate Management pattern", The discovery is failing with the error 

 Identification Engine: Discovery status is FAILURE, Required attribute fingerprint is missing for CI Type cmdb_ci_certificate 

But when i looing at the executing tasks it fails the credentials issue

Error during execution of Windows command: executeCommand -Command 'tasklist /SVC | findstr /I certsrv' -TimeoutSec 60. com.snc.automation_common.integration.exceptions.AuthenticationFailedException: Adding target to blacklist. No valid credential found for type [Windows]

When i test the credentails against the CA server it get sucessfull message, am also able to login to the server with the same creds and run the commands locally.  Tried running the discovery both with/withour credentilas alias section. 

MID server agent logs also report the same error

 

 

 

Spoiler
2023-04-03T13:15:09.511-0300 ERROR (Worker-Standard:HorizontalDiscoveryProbe-68b101e8970261105fa532e3f153af85) [APowerShellProvider:303] (105)APowerShellProvider - Error during execution of Windows command: executeCommand -Command 'certutil –ca.cert IntermediateCACert.cer' -TimeoutSec 60
java.util.concurrent.ExecutionException: com.snc.automation_common.integration.exceptions.AuthenticationFailedException: Target is blacklisted. No valid credential found for type [Windows]

Please suggest on what should I look further to resolve this.

 

 

1 REPLY 1

The SN Nerd
Giga Sage
Giga Sage

I had to add the server as a proxy host as per this work instruction

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1096137

This is missing from all the documentation...


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022