Procedures

The steps in this section describe a single-site StorageGRID solution containing a mix of virtual appliances and a physical appliance. Only the physical appliance will be encrypted with a key from two KeyControl servers.

Deploy KeyControl and create a vault

  1. Deploy KeyControl deployment and install the clustered KeyControl server.

  2. Create a new vault.

    In KeyControl, select Create Vault.

    1 kc get started
  3. Create a KMIP vault type and fill in the details for the vault.

    2 kc vault create

    The admin email address will be the login name for the vault.

  4. When the vault has been created, make a copy of the vault information: the link to the vault URL, the user name, and the randomly generated temporary password.

    3 kc vault create success

Create a client certificate

  1. Launch the vault from the URL and sign in with the new credentials. You will be prompted to set a new password and log in with the new password.

    4 kc vault login
  2. When you logged in with the new password, select the large Security tile in the middle.

  3. On Client Certificates, create the certificate bundle to authenticate StorageGRID to the KMS.

    5 22 kc security
    6 kc client cert
  4. In Client certificate, select the plus sign (+) to create a new certificate.

    7 kc manage cert
  5. Provide a name and an expiration date for the certificate.

    This integration does not have a CSR to upload so we clear the checkbox for authentication and encryption.

    Select Create.

    The new certificate is generated and it appears in the Manage Client Certificate list.

    8 kc create cert
  6. Select the new certificate, download and unzip it.

    There are two .pem files: cacert.pem and certificate_name.pem.

    The named certificate file is a combined certificate and key that will need to be separated out into individual files with the Key text (highlighted in yellow) as a new file named certificate_name.key.

    9 client cert split

Configure StorageGRID

Appliances can only use node encryption with an external KMS if it is configured when the appliance is installed.

  1. From inside the installer UI, select Configure Hardware > Node Encryption, select the checkbox to enable node encryption, then select Save.

    Repeat this step for all nodes to be encrypted.

    The nodes are now ready to be joined to the StorageGRID solution.

    10 sg node encrypt
    11 sg node encryption checkbox
  2. Install the node or nodes and join them to the grid.

  3. Configure StorageGRID to use the KeyControl cluster for a KMS. In the StorageGRID management UI, select Configuration> Security> Key management server.

    12 sg configuration
  4. Select Create add the new KeyControl KMS.

    13 sg create kms
  5. Ender the details for the new KMS configuration.

    Provide a name to identify the KMS, an encryption Key name (if one exists already in the KeyControl Vault that you wish to use, or this will be the name of the new key created by this process), what site should be managed by this KMS or all sites not managed by another configured KMS, the port should remain the default, and the hostnames or IP addresses of the KeyControl servers in the cluster.

    14 sg add kms
  6. Select Continue to get to the next page to upload the server certificate.

    This is the cacert.pem file that was provided by the KeyControl client certificate creation.

    15 sg inst cacert
  7. Select Continue to upload the client certificate and key files.

    16 sg inst client cert
  8. Select Test and save.

  9. If all went well the final dialog informs you that no key exists in the vault and a new key will be created.

    17 sg kms key create
  10. When the key has been created, you can see the new KMS in the list with a certificate status unknown.

    After a few minutes this will update to show the certificates are valid.

    18 sg kms initial config
    19 sg kms configured
  11. Select the KMS name to bring up the information on the KMS.

    This is also where you can choose to rotate the keys.

    20 sg kms info
  12. Select Encrypted nodes and verify which nodes are encrypted and which keys are used.

    21 sg node encrypted
  13. Open KeyControl and in Vault Objects and check the keys in the vault and compare them to the StorageGRID keys that are in use.

    5 22 kc security
    23 kc key