Info: How does Server Agent determine hostname displayed in registered clients?

Info: How does Server Agent determine hostname displayed in registered clients?

105
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:52 PM


Symptom


Info:

This article describes how Server Agent determines the hostname that is then displayed in Registered Clients list in Aperture.

mceclip3.png

More Info:

The Server Agent will report back to Venafi Trust Protection Platform (TPP) the hostname of the system. This hostname value is determined by a system call made by the Agent.

The call is gethostname (https://man7.org/linux/man-pages/man2/gethostname.2.html). This function is used by hostname command at least in Linux (https://man7.org/linux/man-pages/man1/hostname.1.html).

This means that on a Linux system we can simply run this command from terminal session to see what the Agent should be reporting as the hostname:

hostname

On Windows you can use the following PowerShell command:

[System.Net.Dns]::GetHostByName($env:computerName)


Actions
  • Print
  • Copy Link

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