We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b8f91 commit dfca6faCopy full SHA for dfca6fa
lib/logstash/outputs/syslog.rb
@@ -227,7 +227,7 @@ def setup_ssl
227
require "openssl"
228
ssl_context = OpenSSL::SSL::SSLContext.new
229
ssl_context.cert = OpenSSL::X509::Certificate.new(File.read(@ssl_cert))
230
- ssl_context.key = OpenSSL::PKey::RSA.new(File.read(@ssl_key),@ssl_key_passphrase)
+ ssl_context.key = OpenSSL::PKey::RSA.new(File.read(@ssl_key),@ssl_key_passphrase.value || '')
231
if @ssl_verify
232
cert_store = OpenSSL::X509::Store.new
233
# Load the system default certificate path to the store
0 commit comments