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

CA cert for TLS authentication #117

Closed
nezlis opened this issue Jun 26, 2020 · 4 comments
Closed

CA cert for TLS authentication #117

nezlis opened this issue Jun 26, 2020 · 4 comments

Comments

@nezlis
Copy link

nezlis commented Jun 26, 2020

Hey there, hope you are doing well.

Is it possible to add CA cert for client authentication?
node_exporter already has that feature and it will be awesome to add it to your project.

Thank you!

@fstab
Copy link
Owner

fstab commented Jul 2, 2020

It's not yet possible, but it should be easy to implement. I'll have a look.

fstab added a commit that referenced this issue Jul 5, 2020
@fstab
Copy link
Owner

fstab commented Jul 5, 2020

I started a feature branch client_ca, but didn't find the time to test it yet. It should allow you to add the following to the server configuration:

client_ca: /path/to/client_ca/file
client_auth: RequireAndVerifyClientCert

Behavior should be the same as in node_exporter.

fstab added a commit that referenced this issue Jul 6, 2020
@fstab
Copy link
Owner

fstab commented Jul 6, 2020

I tested it and added documentation: https://github.com/fstab/grok_exporter/blob/client_ca/CONFIG.md#server-section.
I'll keep it in the feature branch until the next release, because documentation should only be merged when the feature is released.

@nezlis
Copy link
Author

nezlis commented Jul 8, 2020

Thank you, everything working as expected!

@nezlis nezlis closed this as completed Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants