Skip to content

mTLS Support (Client Certificates) #947

Description

@gwossum

Proposal:
Add optional client certificate and key file configuration when connecting to server over TLS. This is required to connect to an InfluxDB 1.13.0+ server which has client certificate authentication (mTLS) enabled.

Link to preview mTLS documentation for InfluxDB server: https://influxdata.github.io/docs-v2/pr-preview/pr-7523/enterprise_influxdb/v1/administration/configure/security/enable_tls/#enable-mutual-tls-mtls

Current behavior:
Current library does not appear to support client certificates.

Desired behavior:

  • Library should support configuring optional client certificate and client private key for TLS connections.
  • Client certificate and client key configuration are ignored if TLS is not enabled.
  • If only the client certificate is configured and no client key is configured, the library should attempt to load the client certificate as a combined certificate / private key file.
  • The client should present the certificate to the server if requested by the server.

Alternatives considered:
There is no alternative if the server is configured to require client certificate authentication (mTLS).

Use case:
mTLS is now supported in InfluxDB 1.13.0+. Customers are beginning to require mTLS in their security policies.

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