JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.

If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.

If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.

CodeSonar® 9.2p0 CONFIDENTIAL CodeSecure Inc

Installation: Hub License Key: Set Up a Standard License Key

This section provides instructions for setting up a signed, standard CodeSonar license key for a new or upgraded hub.

Before you set up the license key, make sure you have done the following.

If you have a floating license key (one that contains an attribute of the form "floating":true), follow the setup instructions in License Key Installation: Floating License Key.

If you have simply connected to a hub for which someone else is responsible, including any SaaS hub, you do not need to set up a license key and can go on to Installation: Finishing Up.



About Standard License Keys

A standard CodeSonar license key is locked to a specific machine.

Most CodeSonar license keys are standard license keys. The alternative is a floating license key.

Check Your License Key

Before setting up, work through the following steps to make sure your license key is signed and of the expected type.

Setting Up

For a hub located at <host>:<port>, set up the license key as follows.

  1. If you haven't checked your license key, check it now.
  2. If the CodeSonar Web GUI is not already open, open it now.
    http://<host>:<port>/
    If you don't see the hub home page, make sure you have specified the correct <host> and <port>. For example, if you specified hub interface ::1 and port 7340 when you set up the hub, the web GUI home page will be at http://[::1]:7340/.
  3. If you are not already signed in as Administrator, sign in now.
    1. Click the Sign In link (at the top right of the page).
      CodeSonar will open a page for you to enter credentials.
    2. Enter Administrator in the Username field.
    3. Enter the Administrator password in the Password field.
      (If you have just started a new hub, you will have set a password for Administrator as part of that process.)
    4. Click Sign In.
    If this is the first time the Administrator account has been used, you will be asked to specify an email address for the account.
  4. Click the see licensing details link in the GUI footer.
    The License Utilization page will open. Directly under the page heading will be a text field labeled Edit License(s).

    Note: alternative license key installation instructions are available for users who are not able to use the web GUI.

  5. Paste the text of your signed license key into the Edit License(s) field, replacing any text that was previously present.
  6. Click Save.
    CodeSonar will read and apply your new license key.
  7. Your current Administrator session has reduced privileges because you signed in while the hub was in an unlicensed state. Sign out now to end the session so that you can start a new one that takes the license key into account:
    1. Click the Sign Out Administrator link (at the top right of the page).
      CodeSonar will display a page stating that you have signed out
    2. Click the Continue link.
      CodeSonar will display the hub home page.
    You are now in an anonymous session. If you want to sign in again (as Administrator or another user), you can do so by clicking the Sign In link at the top right of the page and entering credentials when prompted.
  8. If you have not yet configured the hub, go on to Hub Setup: Hub Configuration.
    Otherwise, go on to Installation: Finishing Up.
 

To report problems with this documentation, please visit https://support.codesecure.com/.