Skip to content

Commit 05eef1b

Browse files
committed
Added support for RFC5424 structured data (logstash-plugins#67)
* Added support for RFC5424 structured data Signed-off-by: Tero Saarni <[email protected]>
1 parent f2cdc0b commit 05eef1b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- Added support for RFC5424 structured data [#67](https://github.com/logstash-plugins/logstash-output-syslog/pull/67)
44
- The SNI (Server Name Indication) extension is now used when connecting to syslog server with TLS and `host` is set to FQDN (Fully Qualified Domain Name) [#66](https://github.com/logstash-plugins/logstash-output-syslog/pull/66)
55
- Add support for CRL to check for the server certificate is revocation status [#62](https://github.com/logstash-plugins/logstash-output-syslog/pull/62)
6+
- Support loading of PKCS8 EC private keys [#61](https://github.com/logstash-plugins/logstash-output-syslog/pull/61)
67

78
## 3.0.5
89
- Docs: Set the default_codec doc attribute.

lib/logstash/outputs/syslog.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def setup_ssl
246246
require "openssl"
247247
ssl_context = OpenSSL::SSL::SSLContext.new
248248
ssl_context.cert = OpenSSL::X509::Certificate.new(File.read(@ssl_cert))
249-
ssl_context.key = OpenSSL::PKey::RSA.new(File.read(@ssl_key),@ssl_key_passphrase)
249+
ssl_context.key = OpenSSL::PKey::read(File.read(@ssl_key),@ssl_key_passphrase)
250250
if @ssl_verify
251251
cert_store = OpenSSL::X509::Store.new
252252
# Load the system default certificate path to the store

0 commit comments

Comments
 (0)