From 36f595480eee3d36765cf0e0b0bf95022e5147bf Mon Sep 17 00:00:00 2001 From: Pete Wildsmith Date: Sat, 29 Apr 2017 08:26:12 +0100 Subject: [PATCH] address feedback --- command/agent/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/http.go b/command/agent/http.go index 787f02e66..bdae5ee33 100644 --- a/command/agent/http.go +++ b/command/agent/http.go @@ -66,7 +66,7 @@ func NewHTTPServer(agent *Agent, config *Config) (*HTTPServer, error) { if config.TLSConfig.EnableHTTP { tlsConf := &tlsutil.Config{ VerifyIncoming: config.TLSConfig.VerifyHTTPSClient, - VerifyOutgoing: config.TLSConfig.VerifyHTTPSClient, + VerifyOutgoing: true, VerifyServerHostname: config.TLSConfig.VerifyServerHostname, CAFile: config.TLSConfig.CAFile, CertFile: config.TLSConfig.CertFile,