certificate

Manage SSL certificates for MicroCeph services.

Usage:

microceph certificate [command]

Available commands:

set         Set SSL certificates for services

Global flags:

-d, --debug       Show all debug messages
-h, --help        Print help
    --state-dir   Path to store state information
-v, --verbose     Show all information messages
    --version     Print version number

set

Set SSL certificates for services.

Usage:

microceph certificate set [command]

Available commands:

rgw         Set the SSL certificate for the RGW service

set rgw

Set or rotate SSL certificates for the RGW service. Provide a base64-encoded PEM certificate and private key. If the certificate includes a chain, place the server’s leaf certificate first.

Use --restart to activate the certificate immediately. Without it, a new certificate is stored for later activation. An earlier pending update may still cause RGW to restart, even after a manual restart, interrupting client connections.

See Rotate RGW TLS certificates for examples and activation instructions.

Usage:

microceph certificate set rgw --ssl-certificate <base64> --ssl-private-key <base64> [--target <server>] [--restart] [flags]

Flags:

--ssl-certificate string   base64 encoded SSL certificate (required)
--ssl-private-key string   base64 encoded SSL private key (required)
--target string            Server hostname (default: this server)
--restart                  Restart the RGW service for immediate certificate pickup