CmdID / docker / docker swarm
docker swarm ca
Display and rotate the root CA Docker CLI reference
7 options Its page in the Docker CLI reference
Options
--ca-certPath to the PEM-formatted root CA certificate to use for the new cluster--ca-keyPath to the PEM-formatted root CA key to use for the new cluster--cert-expiryValidity period for node certificates (ns\--detach, -dExit immediately instead of waiting for the root rotation to converge--external-caSpecifications of one or more certificate signing endpoints--quiet, -qSuppress progress output--rotateRotate the swarm CA - if no certificate or key are provided, new ones will be generated