Skip to main content

Installing the CxEngine Server

The fourth and final component to install in this sequence is the CxEngine.

Notice

In order to be able to log on to the CxSAST web interface, you must have the Web Portal installed before installing CxEngine.

To install CxEngine:

  1. Select

    6436166747.png

    Install Engine only.

    6436166825.png
  2. Click <NEXT> to continue. The Prerequisites Check window is displayed, showing the status of the required components to install the CxEngine server.

    6436166780.png
  3. For any prerequisite component not installed, click <Prerequisites Folder> to browse for and install each missing prerequisite component.

    Note: In addition to version 2010, the CxEngine Server requires C++ Redist Version 2015.

  4. After the missing prerequisite component(s) have been installed, click <Recheck Prerequisites> to confirm the updated prerequisite status.

  5. When all prerequisite components are installed, click <NEXT> to display the Engine Configuration window.

    6436166855.png

To set up the CxEngine:

  1. Enter the service endpoint URL in the Engine service endpoint field ( http://{IP or FQDN}:{port} ). If you use a domain name, it reads looks similar to http://<engine name>.<location.domain>:<port number>, for example http://engine1.checkmarx.com:8088.

    Note:

    o Errors in the URL such as an illegal port result in an error indication

    6436166777.png

    and you cannot continue the process until the error is corrected.

    o The CxEngine Server uses port 8088 by default. You can also use a different port, although it is not recommended.

    o All the CxEngine Server environment variables can be viewed and edited in the Windows Properties once the engine is configured and running.

  2. To open the required port in the Windows firewall, check Add this Port to Firewall Inbound Rule.

  3. To enable encryption via TLS, check Enable TLS. This switches the TLS variable to true in the environment variables under Windows Properties.

  4. On the server that has CxManager installed, open the file explorer and navigate to the installation folder, for example C:\Program Files and from there to ..\Checkmarx\Tools\Engine Configuration Exporter.

  5. Run EngineConfigExporter.bat. Two new subfolders are created under the ..\ Tools\Engine Configuration Exporter folder, Logs and Output. The engine configuration file engineConfiguration.json is generated in the Output folder.

  6. Go to the Output folder and copy engineConfiguration.json to a location of your choice on the CxEngine server.

  7. To invoke the engine parameters, click <Import Engine Configuration>. The file explorer opens.

    6436166771.png
  8. Navigate to the file location engineConfiguration.json file's location and click <Open>.

  9. The Engine configuration is imported and displayed in the relevant fields of the Engine Configuration window.

    Note:

    o The imported parameters cannot be entered or edited manually in the Engine Configuration dialog box.

    o The engine configuration is available for editing as Windows Environment Variables. For additional information, refer to the relevant page.

    6436166852.png
  10. Click <NEXT>. You are now asked to define your service account settings.

    6436166750.png
  11. Select the service account on which the CxSAST related services are running with:

    o Local System account o Network Service account (default)

    o This account: A dedicated account that you may have added to serve your CxSAST application. Enter the user credentials to enable CxSAST to access this account.

  12. Click <Test User Account> to verify and test this account. If successful, <NEXT> turns green and you can complete the installation.

  13. Click <NEXT>. TheSetup Summarywindow is displayed.

    6436166834.png
  14. Check the setup summary according to your selection.

  15. Click <INSTALL> to continue. The Installation in Progress window is displayed and the installation proceeds, which may take a few minutes.

    o To return to the previous window, click <BACK>.

    o To exit, click <X>.

    6436166837.png
  16. Once successfully installed, theInstallation Completed Successfully window is displayed.

    6436166840.png
  17. Click <CLOSE> to complete the installation.

  18. Log into the CxSAST web interface.

  19. Go to Settings > Application Settings > Engine Management. The Engine Management window is displayed.

    6436166843.png
  20. Click <Register Engine Server>. The Register Engine Server window is displayed.

    6436166846.png
  21. Assign a Server Name to the engine, and provide the Server URL to enable CxManager to communicate with CxEngine.

    The URL is something like http://{IP or FQDN}:{port}. {IP or FQDN} refers to the IP address or the host name.

  22. Click <UPDATE>.

  23. Restart the CxScansManager service so that the new engines can be placed into the rotation.