Creates the KMIP token and initializes the KMIP configuration for first use.
Use the
mrhsm init command to create the KMIP
token for the first time and
initialize the KMIP
configuration. On successful initialization, the command creates the
KMIP
token that is used for authentication and communication with the external KMIP
key
store. In addition, the command generates a random user PIN used to encrypt the KMIP
configuration in /opt/mapr/conf/tokens/mrhsm.conf.
mrhsm init
[ -cacert <ca-cert> ] Path to KMIP server CA certificate in PEM format
[ -clientcert <cert> ] Path to client certificate in PEM format
[ -clientkey <key> ] Path to client private key in PEM format
[ -ip <ip1,ip2,...> ] Comma-separated list of KMIP server IP addresses
[ -kmipversion <version>] KMIP version: 1.0, 1.1, 1.2, 1.3, or 1.4. Default: 1.1
-label <text> Defines the label of the object or the token.
[ -port <kmip-port> ] KMIP port number. Default is 5696
-sopin <so-pin> PIN for SO (Security Officer)
The list of parameters are as follows. Only the PKCS#11 label and SO PIN are required; you can configure the remainder later using the mrhsm set command.
Refer to the KMIP Integration Guide for the respective KMIP server (Utimaco ESKM Integration Guide, Gemalto SafeNet KeySecure Key Manager Integration Guide, or Vormetric Data Security Manager (DSM) Integration Guide) for instructions on how to obtain the CA certificate chain.
Refer to the KMIP Integration Guide for the respective KMIP server (Utimaco ESKM Integration Guide, Gemalto SafeNet KeySecure Key Manager Integration Guide, or Vormetric Data Security Manager (DSM) Integration Guide) for instructions on how to obtain the client certificate.
The full or relative path name of the client private key used to generate the client CSR.
Refer to the KMIP Integration Guide for the respective KMIP server (Utimaco ESKM Integration Guide, Gemalto SafeNet KeySecure Key Manager Integration Guide, or Vormetric Data Security Manager (DSM) Integration Guide) for instructions on how to obtain the client private key.
The KMIP version to use when communicating with the external KMIP -enabled key management appliance. Supported values are 1.0, 1.1, 1.2, 1.3 and 1.4
Refer to the vendor-specific documentation for information about the KMIP versions they support. At
present, set this value to 1.1 for SafeNet KeySecure. Utimaco
ESKM and Vormetric DSM should work with all data-fabric supported KMIP versions. Default value is
1.1.
Default is 5696.
The following code demonstrates an example of a sample session.
# mrhsm init -label "Utimaco ESKM"
Slot 0 has a free/uninitialized token.
Enter SO PIN (4-255 characters): ********
Please reenter SO PIN: ********
Generated random user PIN Ve%h*tz^G7Qev@8