Adding the license file

Place the Cloudera-signed license.txt file beside bootstrap.env, because the installer verifies the license and stops when the license is missing or not valid.

You have the zip file from the Cloudera welcome email, which contains the license file whose name ends in _license.txt.

The installation requires a license file. The license phase reads license.txt from the folder that holds bootstrap.env, verifies it, and stores it in the ccf-seed-license Secret in the taikun namespace. The bootstrap-flux phase checks the Secret again before the first Flux bootstrap, because the Cloudera Cloud Factory bootstrap Job requires it.

  1. Extract the zip file, and copy the file whose name ends in _license.txt into the working folder that holds bootstrap.env, renaming it to license.txt.
    unzip <subscription>.zip -d ccf-license
    cp ccf-license/<name>_license.txt ./license.txt

    When you run the installer from the container image, the working folder is mounted as /config, so the file is available to the installer without an extra volume mapping. When you use the --env-file option, place the file in the folder of that env file.

  2. Run the installer.

    The license phase runs after the prepare phase, and it fails the installation when the license is not valid.

The installer logs the license identifier, the licensee name, and the validity period, and then stores the license in the ccf-seed-license Secret.

The installer verifies the following properties of the file:

  • The file is no larger than 16 KB.
  • The file is a PGP cleartext-signed message, and the signature validates against the Cloudera license signing key that is built into the installer.
  • The signed content contains the uuid, name, startDate, and expirationDate fields, and the start date is not after the expiration date.
  • The current date is within the validity period.

To apply a renewed license to an existing deployment, replace license.txt and run the license phase again with the --phase license option. If the installation stops with a license error, see License verification fails.