I'm attempting to receive syslog events that are being sent over SSL/TLS. I'm using the post at https://groups.google.com/forum/#!topic/logstash-users/PcR0it4wiK0 as an example.
input{
tcp{
port => 7007
ssl_enable => true
ssl_cacert => "/tmp/ca.crt"
ssl-cert => "/tmp/mycert.crt"
ssl_key => "/tmp/mykey.pem"
ssl_key_passphrase => "secret"
}
}
filter{
grok...
}
output{
stdout{codec=>rubydebug}
}
Configtest comes back OK but when I run I get this error:
Could not initialize SSL context {:exception=>#<OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key:> :backtrace=>["org/jruby/ext/openssl/PKeyRSA.java:277:in 'initialize'", etc.
Anyone know what I'm doing wrong?
Craig