Configuring Client Daemon
Configure client daemon.
Complete the following steps to configure the client daemon. Ensure you have copied
pkey-c, cert-c,
andpartitionOwnerCert.pem
to /opt/oci/hsm/data
directory.- Use vim or any editor to update the
client_daemon
configuration to/opt/oci/hsm/data
directory.sudo vim /opt/oci/hsm/data/client_daemon.cfg
- Update hostname field with DNS value available on the OCI Console. For more information, see Getting HSM Partition DNS Name.
- Update port field with client daemon 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": "" }, "client": { "daemon_id": 1, "reconnect_attempts": -1, "reconnect_interval": 10, "command_retry_attempt_count": 3, "command_retry_attempt_time": 3 }, "server": { "hostname": "<DNS of HSM Cluster>", "port": 2102 }, "logging": { "log_level": "INFO", "logfiles_location": "/opt/oci/hsm/logs" } }