Info: How do I check my Microsoft CA Communication?

Info: How do I check my Microsoft CA Communication?

189
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:59 PM


Symptom


Applies To: Director and TPP

Summary:

Sometimes we have connection complications when trying to communicate to the Microsoft Certificate Authority. Issues could range from:

  1. Network Access/ Firewall/ Proxy /network stability/ DNS resolution
  2. Credentials
  3. Permissions
  4. Windows Server components installed

You might get an error such as "PostCSR failed with error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"

In order to test the server connectivity external of Venafi we can use Microsofts CertUtil program

https://technet.microsoft.com/en-us/library/ee624045%28v=ws.10%29.aspx

https://technet.microsoft.com/en-us/library/cc732443.aspx

More Info:

  • Example for viewing configuration:

Certutil.exe -view -config "MYCASERVER.domain\CA01"

  • Example for viewing a count of CA Templates:

certutil.exe -v -template "serverName.domain.root\SERVICENAME"

  • Example for pulling back template counts in a loop from Power Shell (testing connectivity)

//This will query the template count from the CA 10 times.

for($i=1; $i -le 10; $i++) { certutil.exe -v -template "serverName.domain.root\SERVICENAME" }

  • Example for viewing names of CA Templates:

certutil.exe -CATemplates -config "serverName.domain.root\SERVICENAME"

For basic command line syntax, run certutil -?

For the syntax on using certutil with a specific verb, run certutil<verb>-?

To send all of the certutil syntax into a text file, run the following commands:

certutil -v -? > certutilhelp.txt

notepad certutilhelp.txt



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000018V0CAI&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail