Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a6818d8

Browse files
committedSep 13, 2023
Added support for RFC5424 structured data (#67)
* Added support for RFC5424 structured data Signed-off-by: Tero Saarni <tero.saarni@est.tech>
1 parent c2d8ee4 commit a6818d8

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
@@ -2,6 +2,7 @@
22
- Change codec instance comparison [#69](https://github.com/logstash-plugins/logstash-output-syslog/pull/69)
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)
5+
- Support loading of PKCS8 EC private keys [#61](https://github.com/logstash-plugins/logstash-output-syslog/pull/61)
56

67
## 3.0.5
78
- 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
@@ -238,7 +238,7 @@ def setup_ssl
238238
require "openssl"
239239
ssl_context = OpenSSL::SSL::SSLContext.new
240240
ssl_context.cert = OpenSSL::X509::Certificate.new(File.read(@ssl_cert))
241-
ssl_context.key = OpenSSL::PKey::RSA.new(File.read(@ssl_key),@ssl_key_passphrase)
241+
ssl_context.key = OpenSSL::PKey::read(File.read(@ssl_key),@ssl_key_passphrase)
242242
if @ssl_verify
243243
cert_store = OpenSSL::X509::Store.new
244244
# Load the system default certificate path to the store

0 commit comments

Comments
 (0)
Please sign in to comment.