License Key Installation

License key for Highlighter is delivered as a file named highlighter.lic (or highlighter-dev.lic for development servers). Install the license key using one of approaches described below.

After license key installation, restart the Highlighter Service for changes to take effect.

Option 1: Install the license file to Highlighter's conf directory

To install the license key, copy highlighter.lic file to <install dir>/conf directory.

Option 2: Use the license key from other location on server

Add config parameter licenseKeyFile to application.conf:

highlighter.licenseKeyFile=/full/path/to/highlighter.lic

Option 3: Keep license key in application.conf

The license file is a plain text file and, if you prefer to keep the license along with other settings, you can copy the license to your application.conf under the licenseKey parameter:

highlighter.licenseKey = """
-----BEGIN PGP MESSAGE-----
Version: BCPG v1.51
owJ4nJvAy8zAxbiT0afv7rqaasbTB42SxHMyk1PzilPdMnNS/RJzU3U90/Pyi1JT
QsSe3FDW1VWASiukAeW5lH3z8xSCUwsUDE2ByMrAwsrYUsHZNThEwcjA0IQrIzM9
IweIS1KL9KD6UvXygIba+kB5CiArUNQVlxYU5BeV2BqbmSqkJFYWo0hmFheXprok
/5XaozQN5dN+b162WTz1vZp9MkDBINF+4zThpZ+aFES+Pl5g23q0YB1vSd/OjiTO
Cj+/YfB7HY/PB3xln/f1hv3apvL4TEU7d6LW+wvlU++KfI7ZxLM4cuXXuzLPkk0P
PFe8e9YwRWhrgotz5pbrfN3TGNjUAxnLz4gFbP51sXL1G/WDQqZHjHd/1ejfKWRm
xC/SNKeNwTjKvLdbQq/asJJ51vlW/0jVts0B/MY2C4uk/ne/nPtD9HzY8s7rBZwP
2Rbb9dXnZc47+qok+KTyq2UpXWqLyxYAAL1OxUM=
=IBFP
-----END PGP MESSAGE-----
"""

Note the use of triple quotes for a multi-line string value in config.


comments powered by Disqus