In this lab you will be tasked with enabling encryption between the 3 provided Consul server agents. These supplied servers are already configured as server agents and will already be in a cluster. Your task is to enable the encryption between the 3 nodes and test to ensure the encryption is working and the agents can all see each other in the cluster.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Check and Ensure All Agents Are Part of the Same Cluster
- Use a command such as
consul members
to ensure that all the agents provided are connected and part of the same cluster.
- Use a command such as
- Configure All the Server Agents to Use Gossip Encryption
- Create a key for use with the gossip encryption.
- Configure all the Consul server agents to use this key.
- Restart all the Consul server agents.
- Test All the Consul Servers to Ensure Encryption Is Being Used
- Check the logs to ensure the encryption is being used.