mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Common Module - Telegraf Certificate Fun
This commit is contained in:
@@ -146,6 +146,9 @@ so-telegraf:
|
|||||||
- /proc:/host/proc:ro
|
- /proc:/host/proc:ro
|
||||||
- /nsm:/host/nsm:ro
|
- /nsm:/host/nsm:ro
|
||||||
- /etc:/host/etc:ro
|
- /etc:/host/etc:ro
|
||||||
|
- /etc/pki/ca.crt:/etc/telegraf/ca.crt:ro
|
||||||
|
- /etc/pki/influxdb.crt:/etc/telegraf/telegraf.crt:ro
|
||||||
|
- /etc/pki/influxdb.key:/etc/telegraf/telegraf.key:ro
|
||||||
|
|
||||||
# If its a master or eval lets install the back end for now
|
# If its a master or eval lets install the back end for now
|
||||||
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
|
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
|
||||||
|
|||||||
@@ -123,9 +123,9 @@
|
|||||||
# udp_payload = "512B"
|
# udp_payload = "512B"
|
||||||
|
|
||||||
## Optional TLS Config for use on HTTP connections.
|
## Optional TLS Config for use on HTTP connections.
|
||||||
# tls_ca = "/etc/telegraf/ca.pem"
|
tls_ca = "/etc/telegraf/ca.crt"
|
||||||
# tls_cert = "/etc/telegraf/cert.pem"
|
tls_cert = "/etc/telegraf/telegraf.crt"
|
||||||
# tls_key = "/etc/telegraf/key.pem"
|
tls_key = "/etc/telegraf/telegraf.key"
|
||||||
## Use TLS but skip chain & host verification
|
## Use TLS but skip chain & host verification
|
||||||
# insecure_skip_verify = false
|
# insecure_skip_verify = false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user