Skip to content

Commit

Permalink
Merge pull request elastic#239 from monicasarbu/fix_insecure_tls
Browse files Browse the repository at this point in the history
Fix insecure config option
  • Loading branch information
ruflin committed Oct 29, 2015
2 parents dfb5429 + da25c22 commit eae2c51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions outputs/logstash/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eae2c51

Please sign in to comment.