Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting of allowInsecure for scrapers in web interface #21582

Open
gg-g opened this issue May 29, 2021 · 0 comments
Open

Allow setting of allowInsecure for scrapers in web interface #21582

gg-g opened this issue May 29, 2021 · 0 comments
Labels

Comments

@gg-g
Copy link

gg-g commented May 29, 2021

Context
InfluxDB 2.0.6

Proposal:
This fix added the option to allow skipping of certificate checks for self-signed certificate on HTTPS scrape targets. At the moment this can only be set via the API.

Add a checkbox to the InfluxDB WebUI to set this for convenience.

Current behavior:
Adding a HTTPS scrape targets which has a self-signed certificate or certificate issued by a private CA can be done and is marked with all green check-marks. In the log however, it warns about certificate issues:

ts=2021-05-28T15:43:32.679772Z lvl=error msg="Unable to gather" log_id=0UK~I9il000 error="Get \"https://influxdbhost.example.com:8086/metrics\": x509: certificate signed by unknown authority" ts=2021-05-28T15:43:42.677452Z lvl=info msg="http: TLS handshake error from 10.0.0.218:58118: remote error: tls: bad certificate" log_id=0UK~I9il000 service=http

Desired behavior:
A checkbox in the Create Scraper dialog that sets allowInsecure on the scrape target

Alternatives considered:

Use case:
Why is this important (helps with prioritizing requests)?

Convenience :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants