-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Use Case
The InfluxDB Module creates a SSL encrypted setup by default, which is great. But this seup creates two pitfalls with the influx CLI:
- The CLI needs additional parameters to be able to establish a connection. This can be solved with an influx CLI config
influx config create --config-name default --host-url https://$(facter networking.fqdn):8086 --org puppetlabs --token $(cat /root/.influxdb_token) --active
- Even with this config the connection will not work, because the CA is "self -signed" and not trusted
influx org list
Error: failed to list orgs: Get "https://****:8086/api/v2/orgs": x509: certificate signed by unknown authority
AFAIK there is no parameter to allow the CA, but it helps to import it to the system store.
Maybe it helps to announce the full chain to InfluxDB.
Describe the Solution You Would Like
The module creates a CLI config and imports the puppet CA to the system store
Describe Alternatives You've Considered
Add this information to various readme files
henriklb
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request