Nessuscli Fetch --challenge Exclusive

Challenge code: aaaaaa11b2222cc33d44e5f6666a777b8cc99999 2. Register Offline

nessuscli fetch --challenge

: Transfer the nessus.license file back to your offline scanner and register it using: nessuscli fetch --register-offline nessus.license . Common Use Cases Install Tenable Nessus Offline nessuscli fetch --challenge

The --challenge option is used with the fetch command to retrieve scan results in a challenge-response format. This format is useful for automating the retrieval of scan results, as it allows the user to specify a challenge (a random value) that must be responded to with a corresponding response.

If you are setting up or updating Nessus in an air-gapped environment, follow this workflow: Challenge code: aaaaaa11b2222cc33d44e5f6666a777b8cc99999 2

Open your terminal or command prompt and run the command based on your operating system: : /opt/nessus/sbin/nessuscli fetch --challenge

| Error Scenario | Output | Resolution | |----------------|--------|-------------| | Already registered | Error: Nessus is already registered. | Unregister first with nessuscli fetch --deregister | | Corrupt installation | Challenge generation failed: missing license key file | Reinstall Nessus | | Invalid permissions | Permission denied | Run as root or Nessus service user | This format is useful for automating the retrieval

(Path may vary: on Windows it is usually C:\Program Files\Tenable\Nessus\ ; on Linux/RHEL it is /opt/nessus/sbin/ ).

Copy the Challenge Code string exactly as it appears.

[INFO] Challenge code generated successfully for offline registration

All challenge generation attempts are logged in: