From a6c2cef7785b0469447854016b802777a39811b2 Mon Sep 17 00:00:00 2001 From: Monica Sarbu Date: Thu, 29 Oct 2015 12:42:21 +0100 Subject: [PATCH 1/2] Initialize Insecure with the configurable value --- outputs/logstash/transport.go | 1 + 1 file changed, 1 insertion(+) diff --git a/outputs/logstash/transport.go b/outputs/logstash/transport.go index 6426372372a..30b43b55450 100644 --- a/outputs/logstash/transport.go +++ b/outputs/logstash/transport.go @@ -105,6 +105,7 @@ func (c *tlsClient) Connect(timeout time.Duration) error { tlsconfig.RootCAs = c.tls.RootCAs tlsconfig.Certificates = c.tls.Certificates tlsconfig.ServerName = host + tlsconfig.InsecureSkipVerify = c.tls.InsecureSkipVerify if err := c.tcpClient.Connect(timeout); err != nil { return c.onFail(err) From da25c220363f0178fc374898e1468c0abfe35040 Mon Sep 17 00:00:00 2001 From: Monica Sarbu Date: Thu, 29 Oct 2015 13:17:54 +0100 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28f0edab379..e57045717a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ All notable changes to this project will be documented in this file based on the - Determine Elasticsearch index for an event based on UTC time #81 - Fixing ES output's defaultDeadTimeout so that it is 60 seconds #103 - Es outputer: fix timestamp conversion #91 +- Fix TLS insecure config option #239 ### Added - Add logstash output plugin #151