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,