open-nomad/dev/tls_cluster
..
certs
client1.hcl
client2.hcl
README.md
server.hcl

Simply run the Nomad Server and Clients from this directory and the created cluster will be using TLS.

Certificate Generation

The TLS certificates and CA are generated using the nomad tls subcommands.