November 2018
Beginner
230 pages
6h 4m
English
The swarm ca command is used when you want to view the current certificate for the swarm, or you need to rotate the current swarm certificate. To rotate the certificate, you would include the --rotate parameter:
# View the current swarm certificatedocker swarm ca# Rotate the swarm certificatedocker swarm ca --rotate
The swarm ca command can only be executed successfully on a swarm manager node. One reason you might use the rotate swarm certificate feature is if you are moving from the internal root CA to an external CA, or vice versa. Another reason you might need to rotate the swarm certificate is in the event of one or more manager nodes getting compromised. In that case, rotating the swarm certificate will block all other ...
Read now
Unlock full access