grafana/docs/sources/administration
Jeremy Alvis f021f97c31
DataSourceSettings: Add servername field to DataSource TLS config (#29279)
* DataSourceSettings: Add servername field to DataSource TLS config

A DNS lookup URL can be provided in the DataSource URL field in order
to dynamically load balance between multiple instances of a DataSource.
When using mutual TLS, Golang's TLS config implementation checks that
the certificate's common name (< 1.15) or subject alternative name
(>= 1.15) has the same value as the domain being accessed. If the DNS
entry is dynamically generated for a specific environment, the
certificate cannot be generated with a name matching the dynamic
DNS URL. As such, Golang offers a servername field that can be set to
overwrite what value is used when checking against the certificate's
common name (or subject alternative name). Without this change, Skip
TLS Verify must be set to true in order for the DataSource to work,
removing some of the benefits gained by using mutual TLS.

This commit adds the ability to set Grafana's internal Golang TLS config
servername field from the UI or a provisioned DataSource.

The servername field is optional and the existing behavior is retained if
the field is not set.

Co-authored-by: Dana Pruitt <dpruitt@vmware.com>
Co-authored-by: Jeremy Alvis <jalvis@pivotal.io>

* Update docs with PR review changes

Co-authored-by: Jeremy Alvis <jalvis@pivotal.io>
Co-authored-by: Dana Pruitt <dpruitt@vmware.com>

* Update with additional PR requested changes

* Minor updates based on PR change requests

Co-authored-by: Dana Pruitt <dpruitt@vmware.com>
2020-12-10 16:07:05 +01:00
..
_index.md Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
change-home-dashboard.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
change-your-password.md Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
cli.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
configuration.md Docs: Update configuration.md (#29728) 2020-12-09 08:22:12 -08:00
configure-docker.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
image_rendering.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
jaeger-instrumentation.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
metrics.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
preferences.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
provisioning.md DataSourceSettings: Add servername field to DataSource TLS config (#29279) 2020-12-10 16:07:05 +01:00
security.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
set-up-for-high-availability.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
view-server-settings.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
view-server-stats.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00