Configuring Apache HDFS Encryption
Also available as:
loading table of contents...

Install Ranger KMS HSM via Ambari with JCEKS

How to install the Ranger KMS HSM via Ambari with JCEKS.

  • Install the SafeNet Luna SA Client software (link below).
  • You must have a separate partition for each KMS cluster.
  1. Complete “Installing the Ranger Key Management Service” up to configuring KMS settings.
  2. On the KMS HSM tab, select Yes under Ranger KMS Enabled, then set the following properties:
    • HSM Type: Luna Provider
    • HSM Partition: Enter the HSM partition name.
    • HSM partition password alias: Leave this set to the default value (ranger.kms.hsm.partition.password).
    • HSM Password: _
  3. Click Next and follow the instructions to finish installing Ranger KMS.
    Ranger KMS will fail to start (expected behavior).
  4. Execute this command on the cluster where Ranger KMS is installed:
    python /usr/hdp/current/ranger-kms/ -l "/usr/hdp/current/ranger-kms/cred/lib/*" -f /etc/ranger/kms/rangerkms.jceks -k ranger.kms.hsm.partition.password -v <Partition_Password> -c 1
  5. Restart KMS from Ambari.