Enabling TLS for a Consul Cluster

45 minutes
  • 4 Learning Objectives

About this Hands-on Lab

In this hands-on lab, you will enable TLS encryption on a 3 node cluster. You will be provided with three server agents that are already part of a cluster in the dc1 datacenter. You will need to create the CA (Certificate Authority) and the certificates for the server agents. Then configure each of the server agents to use TLS with the certificates you created. Finally, you will then test to ensure TLS is working between the server agents.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Log in and Verify Servers Are in the Same Cluster
  1. Log in the server using the credentials provided.
  2. Ensure all agents are in the same cluster.
Create the Certificate Authority
  1. Using the appropriate commands, create the CA in order to create the TLS certificates.
Create the Certificates for Server Agents
  1. Create the required certificates to encrypt the communications via TLS.
Configure the Server Agents to Use TLS and Check the Logs to Confirm
  1. Configure all the server agents to use CA (Certificate Authority) and the server certificates.
  2. Restart Consul agents on all the servers.
  3. Verify the logs are showing TLS is ‘true’.

Additional Resources

Your boss has let you know the company requires to enforce TLS encryption between the nodes in the Consul cluster. Indeed, you have confirmed TLS is not being used in the datacenter and will need to fix this situation. You will need to go to the server agents and perform all the tasks required so all the server nodes continue to be able to communicate with each other. We will verify by checking if the logs shows TLS set as true.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!