Specifying Automation Server login credentials from the command line

If you did not specify Automation Server login credentials during the installation process, you must configure the Automation Server after installation to run as an AppScan® Source user.

About this task

In this task topic,
  • <install_dir> is the location of your AppScan® Source installation.
  • user_id is the user with which the Automation Server authenticates when processing a request. The user must be defined in AppScan® Source with the required permissions.
    Note: If the user does not already exist, you will need to specify it in the installation panel or via command line - and then create it manually (post-installation) with AppScan® Source for Analysis or the AppScan® Source command line interface (CLI). To create the new user by command line, use the newuser (nu) command. When creating the new user, ensure that you specify the same user name and password that was specified for Automation Server login. Other settings, such as permission, can be set according to your needs.
  • password is the user's password.
  • The --persist option preserves the login credentials on disk and creates an encrypted key file with the specified user name and password.
  • Windows only: common_name is your CAC Common Name (CN).
  • Windows only: cn_certificate is the CN of the issuer of your certificate.

Procedure

  • On Windows systems:
    • If your AppScan® Enterprise Server authentication method is user ID and password, issue this command:
      <install_dir>\bin\ounceautod.exe -u <user name> -p <password> --persist
    • If your AppScan® Enterprise Server is enabled for Common Access Card (CAC) authentication, enter this command:
      <install_dir>\bin\ounceautod.exe -u <common_name<cn_certificate>> --persist
      Note: If your common_name or cn_certificate contains spaces, surround the value in quotation marks ("common_name<cn_certificate>").
  • On Linux systems:
    1. Change your LD_LIBRARY_PATH to include <install_dir>/bin (where <install_dir> is the location of your AppScan® Source installation), for example:
      export LD_LIBRARY_PATH=/opt/hcl/appscansource/
      bin:$LD_LIBRARY_PATH
    2. Issue this command:
      <install_dir>/hcl/appscansource/bin/ounceautod 
                     -u <user_id> -p <password> --persist
  • Locate /Applications/AppScanSource.app/bin and issue this command:
    ounceautod.exe -u <user_id> -p <password> --persist

Results

After you specify the login credentials, they are saved to disk.