Run Nessuscli Fetch — --challenge On Your Nessusd Server And Copy The Result Below
C:\Program Files\Tenable\Nessus\nessuscli.exe fetch --challenge
# /Library/Nessus/run/sbin/nessuscli fetch --challenge Understanding the Output
or run the full path command based on your operating system: Linux: # /opt/nessus/sbin/nessuscli fetch --challenge C:\Program Files\Tenable\Nessus\nessuscli
This command is primarily used during the initial setup or license renewal of a "dark site" scanner—one isolated from the public internet for security reasons. Without a direct connection to Tenable's servers, the scanner cannot verify its activation code automatically. Instead, you must manually bridge the gap using this challenge code. How to Run the Command
Challenge Code: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX By following these steps, you should be able
: Navigate to the directory where the nessuscli command is available. This is usually found in the Nessus installation directory or in your system's PATH if Nessus was properly added during installation.
The nessuscli fetch --challenge command is a straightforward way to obtain a challenge code for activating or connecting to a Nessus server. By following these steps, you should be able to successfully run the command and provide the required output. By following these steps
The command nessuscli fetch --challenge is a critical tool for offline registration of Tenable Nessus. It generates a unique hardware identifier—the "challenge code"—required to obtain a license file when your scanner cannot connect to the internet. When to Use This Command
sudo nessuscli fetch --challenge
An alphanumeric string (e.g., aaaaaa11b2222cc33d44e5f6666a777b8cc99999 ).