-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Hi,
If the user has set verify_mode to NONE in the logstash beats input configuration, it is overridden by the default value set by the code in SslSimpleBuilder.java (https://github.com/logstash-plugins/logstash-input-beats/blob/master/src/main/java/org/logstash/netty/SslSimpleBuilder.java), see below:
SslClientVerifyMode verifyMode = SslClientVerifyMode.FORCE_PEER;
This is because the Java code has no concept of NONE as the ClientVerifyMode.
Due to various other limitations in Logstash, I am having to pass in a non-empty array of certificate authorities. Because of this, requireClientAuth() will always return true; which in turn, actually sets the verify mode to FORCE_PEER - even though I set it to NONE in the filter configuration. As a result of this, all SSL connections fail.
Could you please fix this behaviour? I am happy to write a pull-request, but have been unable to run your tests successfully in the past.
Nick