Manage the TLS certificate using the CLI
This page describes how to deploy and replace the TLS certificate using the CLI.
Last updated
This page describes how to deploy and replace the TLS certificate using the CLI.
You can set your TLS certificates using the CLI command: weka security tls set.
The command receives an unencrypted private key.
Example: This command is similar to the OpenSSL command that Weka uses to generate the self-signed certificate: openssl req -x509 -newkey rsa:1024 -keyout key.pem -out cert.pem -days <days> -nodes
To replace the TLS certificate with a new one, use the CLI command: weka security tls set.
Once you issue a TLS certificate, it is used for connecting to the cluster (for the time it is issued), while the revocation is handled by the CA and propagating its revocation lists into the various clients.
You can unset your TLS certificates using the CLI command: weka security tls unset.
To download the TLS certificate, use the CLI command: weka security tls download.
To view the cluster TLS status and certificate, use the CLI command: weka security tls status.
Last updated