Error in learn tutorial using Vault to generate mTLS certs

Not sure where the right place to report issues with the learn tutorials is, apologies if this isn’t it!

Been following the “Generate mTLS Certificates for Consul with Vault” tutorial and found that in the “Configure Consul” section, under “Client” it says to use the following configuration:

auto_encrypt {
  allow_tls = true
}

However allow_tls is a server-only option. I believe it should be:

auto_encrypt {
  tls = true
}

Otherwise the client will not start due to the error auto_encrypt.allow_tls can only be used on a server.

1 Like

Hi @geoff.childs thanks for calling this out. We made the update, and it should go live in the next few minutes. Thanks again for letting us know.

1 Like