Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 1.93 KB

File metadata and controls

72 lines (46 loc) · 1.93 KB

node-to-node-encryption

Changes node-to-node encryption

SYNOPSIS

couchbase-cli node-to-node-encryption [--cluster <url>] [-username <username>]
    [--password <password>] [--get] [--enable] [--disable]

DESCRIPTION

This command allows the enabling and disabling of node-to-node encryption this means data transferred between nodes in a cluster will be encrypted. The command will execute a series of instructions in each node in the cluster to switch them from sending and receiving over a non-encrypted connection to an encrypted one or vice-versa.

OPTIONS

--get

Display the node-to-node encryption settings

--enable

Will enable node-to-node encryption

--disable

Will disable node-to-node encryption

EXAMPLES

To enable node-to-node encryption in a cluster with two host [cb1.mydomain.com:8091, cb2.mydomain.com:8091] ran the following commands:

$ couchbase-cli node-to-node-encryption -c cb1.mydomain.com:8091 --username Administrator \
 --password password --enable

To check if node-to-node encryption is on or off ran:

$ couchbase-cli node-to-node-encryption -c cb1.mydomain.com:8091 --username Administrator \
  --password password --get

To disable node-to-node encryption use the following command:

$ couchbase-cli node-to-node-encryption -c cb1.mydomain.com:8091 --username Administrator \
--password password --disable

ENVIRONMENT AND CONFIGURATION VARIABLES

SEE ALSO

man:couchbase-cli-setting-security[1] man:couchbase-cli-ssl-manage[1] man:couchbase-cli-ip-family[1]