Grafana FIPS Mode
Grafana runs with FIPS mode on by default. In FIPS mode, Go rejects TLS 1.2 connections to servers that do not support Extended Master Secret (EMS). After the upgrade to release 4.4.0, this can break Grafana email contact points, which fail with the error tls: FIPS 140-3 requires the use of Extended Master Secret. Other TLS connections from Grafana can hit the same check.
If your environment does not require FIPS compliance, we recommend that you turn FIPS mode off for Grafana.
Keep the default if your environment requires FIPS compliance. With GOLANG_FIPS set to 0, Grafana does not use the FIPS cryptographic module. If Grafana, or some of its features, do not work in a FIPS environment, contact Kloudfuse support.
|
Turn Off FIPS Mode
-
Add the following to your
custom-values.yamlfile. If you already have settings undergrafana.env, add this one to them. Keep the quotes around the value.grafana: env: GOLANG_FIPS: "0"yaml -
Apply the change with a Helm upgrade of your Kloudfuse release, using your
custom-values.yamlfile. See Upgrade Instructions. -
Confirm that Grafana has the setting. Replace
kfusewith your Kloudfuse namespace. The output is0.kubectl exec -n kfuse deployment/kfuse-grafana -c grafana -- printenv GOLANG_FIPS -
Confirm that the problem is fixed. In Grafana, send a test notification from the affected contact point. The variable being set does not prove that the check no longer fails.