Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Add support for enabling auto_encrypt on both server and client instances #151

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Aug 29, 2019

  1. Add support for enabling auto_encrypt on both server & client

    We get support for enabling auto_encryption at set up time, allowing
    client instances to get their TLS key/cert pairs from the consul
    servers.
    
    In order to allow browsers to access the UI we also need to enable the
    HTTPS endpoint and disable mTLS on the HTTPS endponit, while keeping
    mTLS enabled for RPC connections.
    jinnko committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    1f11af9 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2019

  1. Complete configuration of consul client auto-encrypt support

    When we're running consul in client mode and want it to connect to the
    servers we must provide the CA and enable HTTPS.  It's also good
    practice to disable plain HTTP.
    jinnko committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    eedd81e View commit details
    Browse the repository at this point in the history
  2. Workaround for v1.6.0 failure to auto-join

    There's a known issue[1] in v1.6.0 that prevents consul clients from
    contacting the servers when they're configured to auto-join.  This
    workaround[2] gets things working.
    
    1: hashicorp/consul#6391
    2: hashicorp/consul#6391 (comment)
    jinnko committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    d07f412 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2019

  1. Enable HTTP endpoint for local connections on client agents

    When auto_encrypt is used on the client agents there's still no support
    for TLS over the HTTPS API[1].
    
    In order for the client agents to interact with services such as nomad
    we need to enable the HTTP API, but to maintain some level of controls
    we also restrict write operations to localhost.
    
    1: hashicorp/consul#6403
    jinnko committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    ff22f63 View commit details
    Browse the repository at this point in the history