Installing the Lineai Windows .NET Agent
The agents send metadata to Lineai, they are installed on the servers upon which the applications or databases are running. The applications and databases to be scanned are specified in the agent configuration files.
Install a Certificate
Section titled “Install a Certificate”Importing root/intermediate certificate into Windows
certutil.exe -addstore root path\to\yourCertificate.cerDownload the Windows .NET Agent
Section titled “Download the Windows .NET Agent”Download the installer from your Lineai server package repository:
wget http://your_server/lineai/server/packages/netcape-installer.exeReplace your_server with your Lineai server hostname.
Run the Installer
Section titled “Run the Installer”- Double-click the downloaded netcape-installer.exe icon to begin installation.
- Enter the your Lineai URL.
- Optionally, enter a descriptive name for the agent.
- Click Next.
- To accept the default installation path, click Next or click Change… to change the install location.
- Complete the installation.
Execute or Start the Agent
Section titled “Execute or Start the Agent”The Lineai.NET Agent is executed through a Command-Line Interface (CLI).
Change directory to the C:\Program Files (x86)\Lineai\NetCape directory and run the agent from the command line.
Commands
cd “C:\Program Files (x86)\Lineai\NetCape”NetCapeAgent “path_to_scan”A lot of output will be printed. The window can be minimized. When decomposing, all available CPUs will be used.
Authorize the Agent
Section titled “Authorize the Agent”For security, agents must be authorized before they will send metadata to Lineai.
Obtain AGENT_UUID and AGENT_PASSWORD from your Lineai administrator, or set these environment variables before starting the agent. If credentials are not pre-provisioned, the agent may register with the server and await administrator approval before scans are accepted.
Next Steps To run a scan immediately, see Binary Scanning via Command Line (.NET). To configure scanning, and set up a scanning schedule, see Configuring the Lineai Windows .NET Agent.