TLS and Mutual Authentication

Let's look at TLS and mutual authentication in a Docker swarm.

Every manager and worker that joins a swarm is issued a client certificate. This certificate is used for mutual authentication. It identifies the node, the swarm that it’s a member of, and the role the node performs in the swarm (manager or worker).

Inspecting a client certificate

You can inspect a node’s client certificate on Linux nodes with the following command.

Get hands-on with 1000+ tech skills courses.