Configuring the User Management Utility in Linux

Configure user management utility.

Complete the following steps to configure the user_mgmt_util utility.

  1. Ensure you have copied pkey-c, cert-c, and partitionOwnerCert.pem to:

    $ vim /opt/oci/hsm/data/user_mgmt_util.cfg
    
    
  2. Use vim or any other editor to update user_mgmt_util configuration.
    $ sudo vim /opt/oci/hsm/data/user_mgmt_util.cfg
    
    
  3. Update hostname field with DNS value available on the OCI Console. For more information, see Getting HSM Partition DNS Name.
  4. Update port field with user management utility port value available on the OCI Console. For more information, see Getting HSM Partition Port Details.
Output

{
   "ssl":{
      "certificate":"/opt/oci/hsm/data/cert-c",
      "pkey":"/opt/oci/hsm/data/pkey-c",      
      "CApath": "/opt/oci/hsm/data/certs",
      "owner_cert_path":"/opt/oci/hsm/data/partitionOwnerCert.pem"
},
   "mutual_auth":{
      "e2e_mutual_auth_cert_path":"",
      "e2e_mutual_auth_pkey":""
   },
 "servers":[
      {
        "hostname": "<DNS of HSM Cluster>",
        "port": <port>
      }
   ],
   "logging":{
      "log_level":"INFO",
      "logfiles_location":"/opt/oci/hsm/logs"
   }
}