wizecore / graylog2-output-syslog

Customizable, production ready syslog and ArcSight output plugin for Graylog
Apache License 2.0
38 stars 19 forks source link

fix for ssl-related parameters in config being ignored #48

Closed nickdannenberg closed 2 years ago

nickdannenberg commented 2 years ago

SSL paramters (keyStore, trustStore, password) set in the config were ignored (at least in my tests with graylog 4 and in issue #42). These paramters could only be set by passing system properties on the command-line.

Instead of using the default SSLSocketfactory, create a custom SSLContext with the correct config parameters and uses this object to create sockets.

huksley commented 2 years ago

Thank you for contribution! I am making a new release soon based on your code!