docker-swarm-ca(1)

docker-swarm-ca1

Display and rotate the root ca

Usage

docker swarm ca [OPTIONS]

Overview

Display and rotate the root CA

Options

--ca-cert=
Path to the PEM-formatted root CA certificate to use for the new cluster

--ca-key=
Path to the PEM-formatted root CA key to use for the new cluster

--cert-expiry=2160h0m0s
Validity period for node certificates (ns|us|ms|s|m|h)

-d, --detach[=false]
Exit immediately instead of waiting for the root rotation to converge

--external-ca=
Specifications of one or more certificate signing endpoints

-q, --quiet[=false]
Suppress progress output

--rotate[=false]
Rotate the swarm CA - if no certificate or key are provided, new ones will be generated

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From docker 1:29.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.