Managing versions, updates, and licenses

 

This section addresses how to keep the application updated.

Viewing version and update information

It is important to keep track of updates and to know which version of the application you are running. For example, a new vulnerability check may require the latest product update in order to work. If you are not seeing expected results for that check, you may want to verify that the application has installed the latest product update. Also, if you contact Technical Support with an issue, the support engineer may ask you which version and update of the application you are running.

  1. Click the Administration tab of the Security Console interface.

The Security Console displays the Administration page.

s_home_new_administrationtab.jpg 

Administration tab

  1. Click Manage settings for the Security Console, including auto-update and logging settings.

The Security Console displays the General page of the Security Console Configuration panel.

On this page you can view the current version of the application. You can also view the dates and update IDs for the current product and content updates. Release announcements always include update IDs, so you can match the IDs displayed on the Security Console page with those in the announcement to verify that you are running the latest updates.

s_security_console_general_nexpose.jpg

The General page of the Security Console Configuration panel

Viewing, activating, renewing, or changing your license

On the Licensing page, you can see license-related information about your Security Console. You also can activate a new license or start the process to modify or renew your license. Your Security Console must be connected to the Internet to activate your license.

Note:   If your Security Console is not connected to the Internet, see Managing updates without an Internet connection.

The License Activation area displays general information about your license.

s_nx_activate_1st_step.jpg 

The Licensing page with the activation button

Activating your license with a product key

If your Security Console has Internet access, you can activate your license with a product key. Provided to you by the Account Management team, the key is a string of 16 numbers and letters separated into four groups by hyphens.

  1. On the Licensing page, click Activate a New License.

The Security Console displays a text box.

  1. Enter the key in the text box.

You can copy the key from the e-mail that was sent to you from the Account Management team.

  1. Click Activate with key.

The Security Console displays a success message.

You do not have to click Save. The application does not have to restart.

See Troubleshooting your activation if you receive errors during activation.

s_nx_activate_key.jpg 

Entering a product key for activation

Activating your license with a license file

Watch a video about this feature.

If your Security Console does not have access to the Internet or to the updates.rapid7.com server, you can activate your license with a license file. Provided to you by the Account Management team, this file has a .lic extension and lists all the features and scanning capacities that are available with your license.

To activate with a license file:

  1. After you receive the license file from the Account Management team, download it.
  2. Using the computer that you downloaded the file on, log onto the Security Console.
  3. Click the Administration tab.

The Security Console displays the Administration page.

  1. Click the Manage link for Security Console.

The Security Console displays the Security Console Configuration panel.

  1. Click Licensing in the left navigation pane.

The Security Console displays the Licensing page.

  1. Click Activate a New License.
  2. Click the link labeled Use a license file.

A button appears for choosing a file.

  1. Click the Choose file button.
  2. Find the downloaded .lic file in your file system and select it.

The file name appears on the Licensing page.

  1. Click the Activate with file button.

The Security Console displays a success message.

  1. Click the OK button.

The Licensing page refreshes and displays the updated license information in the License Details area.

You do not have to click Save, and the Security Console does not have to restart.

s_nx_activate_file.jpg 

Uploading a license file for activation

Viewing license details

In the License Details area of the Licensing page, you can see more information about your license:

Managing updates with an Internet connection

By default, the Security Console automatically downloads and applies two types of updates.

Content updates

Content updates include new checks for vulnerabilities, patch verification, and security policy compliance. Content updates always occur automatically when they are available. However, it is possible to disable automatic content updates in the Security Console Configuration and schedule them at a time of your choosing.

Product updates

Product updates include performance improvements, bug fixes, and new product features. It is possible to disable automatic product updates in the Security Console Configuration and update the product manually.

Note:  When you apply a product update, the latest available content updates up to the current date will also be applied.

The Security Console Updates page

Disabling automatic product updates

You can disable automatic product updates and initiate one-time product updates on an as-needed basis. This gives your organization the time and flexibility to train staff or otherwise prepare for updates that might cause changes in workflow. For example, a new feature may streamline a particular workflow by eliminating certain steps.

Note:  Some new vulnerability and policy checks, which are included in content updates, require concurrent product updates in order to work properly.

To disable automatic product updates:

  1. Click the Administration tab.
  2. Click manage next to Security Console.

The Security Console Configuration panel appears.

  1. Select Updates from the menu on the left-hand side.
  2. Clear the checkbox labeled Enable automatic product updates.

A warning dialog box appears about the risks of disabling automatic product updates.

Click Disable automatic product updates to confirm that you want to turn off this feature.

Or click Cancel to leave automatic product updates enabled.

  1. Click Save.

Whenever you change this setting and click Save, the application downloads any available product updates. If you have disabled the setting, it does not apply any downloaded product updates.

Enabling automatic product updates

Note:  Your PostgreSQL database must be version 9. Otherwise, the application will not apply product updates. If you are using an earlier version of PostgreSQL, see Migrating the database.

Enabling automatic product updates ensures that you are always running the most current version of the application.

To enable automatic product updates after they have been previously disabled:

  1. Go to the Administration tab.
  2. Under Global and Console settings, click Administer.

The Security Console Configuration panel appears.

  1. Select Updates from the left navigation pane.
  2. Select the Enable automatic product updates check box.
  3. Click Save.

Whenever you change this setting and click Save, the application downloads any available product updates. If you have enabled the setting, it also applies any downloaded product updates and restarts.

Manual product updates

When automatic product updates have been disabled, you can manually download product updates.

Note:   By using this one-time update feature, you are not enabling future automatic product updates if they are not currently enabled.

To manually download a new product update:

  1. Go to the Administrationpage.
  2. Click Manage next to UPDATES.

Note:  This option only appears if you have already disabled automatic product updates as described in Disabling automatic product updates.

The list of current and available updates appears.

  1. Select Updatesfrom the left navigation pane.

The Releases page appears.

  1. To update to the most recent product release, click Update to Latest Version.
  2. If you have not updated for a while, there may have been multiple versions released since your last update. In this case, you can select a version to which to update. To select a previous version to update to, navigate to that version and click Update. Releases up to and including that version will be applied.
  1. On the Confirm Update dialog, click Update.

or (Optional) Click Cancel if you do not want to perform the update.

Scheduling automatic updates

By default, the Security Console queries the update server for updates every six hours. If an update is available, the console downloads and applies the update and then restarts. You can schedule updates to recur at specific times that are convenient for your business operations. For example, you may want updates to only occur during non-business hours or at times when they won't coincide with and disrupt scans.

Note:  Content updates are always applied according to the schedule, and product updates are applied according to the schedule only if they are enabled.

To schedule updates:

  1. Go to the Administrationpage.
  2. Click manage next to Security Console.

The Security Console Configuration screen appears.

  1. Select Updates from the left navigation pane.

The Updates page appears.

  1. If you want to prevent the Security Console from applying any available updates whenever it starts up, clear the appropriate checkbox. Disabling this default setting allows you to resume normal operations after an unscheduled restart instead of delaying these operations until any updates are applied.
  2. Select a date and time to start your update schedule.
  3. Select how frequently you want the Security Console to apply any available updates once the schedule is in effect.
  4. Click Save.

Configuring proxy settings for updates

If the Security Console does not have direct Internet access, you can use a proxy server for downloading updates. In most cases, Technical Support will advise if you need to change this setting. This topic covers configuring proxy settings for updates. You can also learn how about Using a proxy server for sending logs.

Note:   For information on configuring updates for an Appliance, see the Appliance Guide which you can download from the Support page of Help.

To configure proxy settings for updates:

  1. Click the Administration tab.

The Administration page appears.

  1. On the Administration page, click the Manage link for Security Console.

The Security Console Configuration panel appears.

  1. Go to the Proxy Settings page.
  2. Enter the information for the proxy server in the appropriate fields:

After you enter the information, click Save.

s_proxy_settings.jpg 

Security Console Configuration panel - Proxy Settings page

Determining a response timeout interval for the proxy

To determine a timeout interval for the proxy server, find out how much time the Security Console requires to download a certain number of megabytes. You can, for example, locate the downloaded .JAR archive for a recent update and learn from the log file how long it took for the Security Console to download a file of that size.

Open the nsc.log file, located in the [installation_directory]/nsc directory. Look for a sequence of lines that reference the download of an update, such as the following:

2013-06-05T00:04:10 [INFO] [Thread: Security Console] Downloading update ID 1602503.

2013-06-05T00:04:12 [INFO] [Thread: Security Console] Response via 1.1 proxy.example.com.

2013-06-05T00:05:05 [INFO] [Thread: Security Console] Response via 1.1 proxy.example.com.

2013-06-05T00:05:07 [INFO] [Thread: Security Console] Acknowledging receipt of update ID 1602503.

Note the time elapsed between the first entry (Downloading update ID...) and the last entry (Acknowledging receipt of update...).

Then go to the directory on the Security Console host where the .JAR archives for updates are stored: [installation_directory]/updates/packages. Locate the file with the update ID referenced in the log entries and note its size. Using the time required for the download and the size of the file, you can estimate the timeout interval required for downloading future updates. It is helpful to use a larger update file for the estimate.

Tip:   In most cases, a timeout interval of 5 minutes (300,000 ms) is generally sufficient for most update file sizes.

Managing updates without an Internet connection

Watch a video about this feature.

If your network environment is isolated from the Internet, you can apply an update by running the installer that is released with that update. When you start the installer, it automatically scans your current installation for files to repair or update and then applies those changes.

An "update" installation leaves your database and configuration settings intact. The only changes it makes to your deployment are the updates.

Note:  You will require one computer to have Internet access, so that you can download the installer.

The first step is downloading the latest installer that is appropriate for your operating system.

Hyperlinks for downloading installers are available in the Nexpose Community at Security Street (community.rapid7.com). In Security Street, click Nexpose, and select Documents from the drop-down list. Then click Installation in the left navigation pane to view all related documentation. Select Nexpose installers, md5sum files, and Virtual Appliances for the latest files.

You can also use the following hyperlinks:

After you download the appropriate installer, take the following steps:

  1. If the Nexpose service is running, stop it to allow the installer to apply updates or repairs. See the topic Running the application for directions on stopping the service.
  2. Run the installer. For detailed directions, see the installation guide, which you can download from the Support page in Help.

The installer displays a message that it will update the current installation, repairing any files as necessary.

  1. Click OK to continue with the updates and installation.

Upon completing the installation, the installer displays a success message.

  1. Click Finish to exit the installer.
  2. Restart the Nexpose service and log onto the Security Console.

The Security Console displays a page that summarizes the update. Many releases include two updates: content and product. You can click the News link to see if another update has been applied for the release date.