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

Adding flag to disable "ask validation" #100

Open
Blue0ctober opened this issue Nov 28, 2017 · 7 comments
Open

Adding flag to disable "ask validation" #100

Blue0ctober opened this issue Nov 28, 2017 · 7 comments

Comments

@Blue0ctober
Copy link

When running check-es-node-status on a cluster with SSL enabled that is using self signed certs, the check will fail with the following:
Check failed to run: SSL_connect returned=1 errno=0 state=error: certificate verify failed

The plugin should have a flag to allow skipping the validation of the cert for use cases where you would use self signed certs instead of signed certs.

@csoleimani
Copy link
Contributor

#101

Made this so you can pass in a cert instead of completely skipping validation

@majormoses
Copy link
Member

Much better to provide a cert than to disable validation. Make sure to use token substitution and redaction to ensure that it does not leak through logs or external handlers.

@rgarcia89
Copy link

What is the status of this ticket?

@ltoning
Copy link

ltoning commented Jun 16, 2021

Hello,

Can we please have this option?
From elastic 7.10 TLS is mandatory on http api 9200 to be abl to use the core Alert functionality.
This makes all the sensu-plugins-elasticsearch useless when using selfsigned/pki certificates.

@rgarcia89
Copy link

@ltoning it is available in a fork...
not sure why it has not been merged to the community version

jspaleta@d091d7a

@majormoses
Copy link
Member

I will be happy to take a look at integrating it once Jeff is ready to create a pull request. Based on the tag it may not be ready for production without further testing.

@rgarcia89
Copy link

@majormoses I am using it for my test and prod environment. Everything is working fine with the --insecure-skip-tls-verify parameter

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

5 participants