Configuring the Protector

Configuring and Verifying AP C Installation on different platforms

Configuring AP C on Linux

To configure the AP C on the Linux platform:

  1. Set the library path before running protect, unprotect or reprotect operations.

    export LD_LIBRARY_PATH=/opt/protegrity/sdk/c/bin
    

    This makes the xcpep.plm file accessible to the Application Protector C SDK before your application initializes.

  2. Ensure that the config.ini file exists in this location before starting the application. AP C resolves the config.ini file path relative to the library path:

    • AP C automatically looks for the configuration file at -

      <installation_dir>/sdk/c/data/config.ini
      
    • To use a custom location, set the PTY_APC_CONFIG environment variable to the full path of your config.ini file:

      export PTY_APC_CONFIG=/path/to/config.ini
      

For more information about configuring the various parameters for the AP C using the config.ini file, refer to Config.ini file for Application Protector.

Verifying Installation of AP C on Linux

To verify the successful installation of the AP C:

  1. Deploy a policy in the ESA data store.

    For more information about deploying a policy, refer to Deploying Policies.

  2. Configure the application as a trusted application in the ESA.
    For more information about trusted applications, refer to Working With Trusted Applications.

    For more information about the sample application, refer to samples installed in directory.


Last modified : August 25, 2026