Skip to content

tls configuration options update #352

@codeboten

Description

@codeboten

The TLS options for the schema and the collector are inconsistent. The schema currently includes the following options:

tls:
  certificate_file:
  client_key_file:
  client_certificate_file:
  insecure:

The collector supports the following:

tls:
  insecure: false
  ca_file: server.crt
  cert_file: client.crt
  key_file: client.key
  min_version: "1.1"
  max_version: "1.2"

I'd like to propose updating the name certificate_file to ca_file to make it clear this is the certificate authority certificate and removing the client_ prefix for the other two options. If that's acceptable, I will then propose updating the Collector's configuration to support certificate_file instead of cert_file, bringing the two configurations closer together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions