Nomad doesn't present intermediate CA

When I use tools to connect to Nomad’s HTTPS API, I would expect nomad to present it’s server certificate, and the intermediate CA. Instead, connections only seem to present the client certificate. I tried adding the intermediate CA to the end of the server PEM - but no dice there, etiher.

Is this intended behavior? The docs arent clear here, but it does make it a little more challenging to configure access to the web API where most systems have the root CA installed anyways.

I had his issue as well. Turns out we can simply provide a public certificate chain in cert_file. Essentially, you append the CA file at the end of the server certificate file.