fluent-plugin-secure-forward 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/fluent-plugin-secure-forward.gemspec +1 -1
- data/lib/fluent/plugin/output_node.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c76b6717bc34d045ab44d29ace650890d8b78da
|
|
4
|
+
data.tar.gz: 757fd393711ea77e11448491aee9ecd5358af942
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84e6610f4d7adf62b4918d03ed08fc60b9c374b007c32147039a3a02f3ddba16d6da3c62f5fd9c065d995a63be32f5592e21cabcd93d4d025dc40e83c62ddbfa
|
|
7
|
+
data.tar.gz: 236b1832abe620cc711ca748aeedd7b188457d5bc2925ca25be767d187e80d2faa1a109799af2d5cccb2d9e2fc32728f41a4721bd122fcec2e51d12065765441
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
2
|
Gem::Specification.new do |gem|
|
|
3
3
|
gem.name = "fluent-plugin-secure-forward"
|
|
4
|
-
gem.version = "0.3.
|
|
4
|
+
gem.version = "0.3.1"
|
|
5
5
|
gem.authors = ["TAGOMORI Satoshi"]
|
|
6
6
|
gem.email = ["tagomoris@gmail.com"]
|
|
7
7
|
gem.summary = %q{Fluentd input/output plugin to forward over SSL with authentications}
|
|
@@ -252,6 +252,14 @@ class Fluent::SecureForwardOutput::Node
|
|
|
252
252
|
|
|
253
253
|
log.trace "set verify_mode VERIFY_PEER"
|
|
254
254
|
context.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
255
|
+
if @sender.enable_strict_verification
|
|
256
|
+
context.ca_store = OpenSSL::X509::Store.new
|
|
257
|
+
begin
|
|
258
|
+
context.ca_store.set_default_paths
|
|
259
|
+
rescue OpenSSL::X509::StoreError => e
|
|
260
|
+
log.warn "faild to load system default certificates", error: e
|
|
261
|
+
end
|
|
262
|
+
end
|
|
255
263
|
if @sender.ca_cert_path
|
|
256
264
|
log.trace "set to use private CA", path: @sender.ca_cert_path
|
|
257
265
|
context.ca_file = @sender.ca_cert_path
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-secure-forward
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TAGOMORI Satoshi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-05-
|
|
11
|
+
date: 2015-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|