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

Add openssl_verify_mode property #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

IldarMinaev
Copy link

Add openssl_verify_mode property

@@ -119,7 +119,8 @@ def register
:password => options.fetch("password", nil),
:authentication => options.fetch("authenticationType", nil),
:enable_starttls_auto => options.fetch("starttls", false),
:debug => options.fetch("debug", false)
:debug => options.fetch("debug", false),
:openssl_verify_mode => options.fetch("openssl_verify_mode", 'peer')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder what happen when TLS/SSL is not enabled if we setup this option like this ? can you test that?

@purbon
Copy link

purbon commented Sep 8, 2015

Thanks a lot for your contribution @IldarMinaev, I just left you an open question I had.

On the other side, do you mind adding test for this behaviour? I try to encourage to have as much as possible under test so we can track regressions, etc..

/cheers

@purbon
Copy link

purbon commented Sep 8, 2015

@jordansissel what do you think about having this option enabled by default?

@elasticsearch-release
Copy link

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then say 'jenkins, test it'.

@purbon
Copy link

purbon commented Nov 2, 2015

please jenkins, test this.

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

Successfully merging this pull request may close these issues.

5 participants