Generate Challenge Code

Before performing offline update operations, you may need to generate a unique identifier on the Nessus server. Tenable calls this identifier a challenge code.

Whereas you use an activation code when performing Nessus operations while connected to the internet, you use a license when performing offline operations; the generated challenge code enables you to view and use your license for offline operations.

To generate a challenge code in Nessus:

  1. Log in to Tenable Nessus.

  2. Click Settings.

  3. Click the pencil icon next to the activation code.

    The Update Activation Code window appears.

  4. In the Registration drop-down menu, select Offline.

  5. Click Activate.

    The challenge code appears in the window.

To generate a challenge code from the command line:

  1. On the offline system running Nessus (A), open a command prompt.
  2. Use the nessuscli fetch --challenge command specific to your operating system.


    # /opt/nessus/sbin/nessuscli fetch --challenge


    # /usr/local/nessus/sbin/nessuscli fetch --challenge


    C:\Program Files\Tenable\Nessus>nessuscli.exe fetch --challenge


    # /Library/Nessus/run/sbin/nessuscli fetch --challenge

  3. Copy the alphanumeric challenge code.
    Example Challenge Code:
  4. Use the copied challenge code to Generate Your License.