docker swarm ca

Display and rotate the root CA

Options

NameDescription
--ca-cert <pem-file>Path to the PEM-formatted root CA certificate to use for the new cluster
--ca-key <pem-file>Path to the PEM-formatted root CA key to use for the new cluster
--cert-expiry <duration>Validity period for node certificates (ns|us|ms|s|m|h) (default 2160h0m0s)
-d, --detachExit immediately instead of waiting for the root rotation to converge
--external-ca <external-ca>Specifications of one or more certificate signing endpoints
-q, --quietSuppress progress output
--rotateRotate the swarm CA - if no certificate or key are provided, new ones will be generated