grafana/docs/sources
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
..
administration DataSourceSettings: Add servername field to DataSource TLS config (#29279) 2020-12-10 16:07:05 +01:00
alerting Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
auth Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
best-practices Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
dashboards Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
datasources Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
developers Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
enterprise Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
explore Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
getting-started Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
http_api Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
installation Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
linking Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
manage-users Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
panels Docs: added version note for rename by regex transformation. (#29735) 2020-12-10 07:53:52 +01:00
permissions Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
plugins Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
release-notes ReleaseNotes: Updated changelog and release notes for 7.3.5 (#29744) 2020-12-10 14:05:51 +01:00
shared Docs: Fix links (#28945) 2020-11-09 10:52:55 -08:00
sharing Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
troubleshooting Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
variables Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
whatsnew Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
_index.md Docs: Remove survey (#29549) 2020-12-09 07:55:50 -08:00
menu.yaml Getting Started: Updated index topic, removed "what-is-grafana", and adjusted weight o… (#29216) 2020-11-19 10:37:18 -05:00