@@ -32,8 +32,6 @@ import (
3232 "testing"
3333 "time"
3434
35- "github.com/elastic/beats/libbeat/common/transport/tlscommon"
36-
3735 "github.com/gofrs/uuid"
3836 "github.com/stretchr/testify/assert"
3937 "github.com/stretchr/testify/require"
@@ -43,6 +41,7 @@ import (
4341 "github.com/elastic/apm-server/tests/loader"
4442 "github.com/elastic/beats/libbeat/beat"
4543 "github.com/elastic/beats/libbeat/common"
44+ "github.com/elastic/beats/libbeat/common/transport/tlscommon"
4645 "github.com/elastic/beats/libbeat/outputs"
4746 pubs "github.com/elastic/beats/libbeat/publisher"
4847 "github.com/elastic/beats/libbeat/publisher/pipeline"
@@ -78,9 +77,10 @@ func TestBeatConfig(t *testing.T) {
7877 "capture_personal_data" : true ,
7978 "secret_token" : "1234random" ,
8079 "ssl" : map [string ]interface {}{
81- "enabled" : true ,
82- "key" : "1234key" ,
83- "certificate" : "1234cert" ,
80+ "enabled" : true ,
81+ "key" : "1234key" ,
82+ "certificate" : "1234cert" ,
83+ "client_authentication" : "none" ,
8484 },
8585 "concurrent_requests" : 15 ,
8686 "expvar" : map [string ]interface {}{
@@ -130,7 +130,7 @@ func TestBeatConfig(t *testing.T) {
130130 TLS : & tlscommon.ServerConfig {
131131 Enabled : & truthy ,
132132 Certificate : outputs.CertificateConfig {Certificate : "1234cert" , Key : "1234key" },
133- ClientAuth : 4 },
133+ ClientAuth : 0 },
134134 AugmentEnabled : true ,
135135 Expvar : & ExpvarConfig {
136136 Enabled : & truthy ,
@@ -238,7 +238,7 @@ func TestBeatConfig(t *testing.T) {
238238 TLS : & tlscommon.ServerConfig {
239239 Enabled : & truthy ,
240240 Certificate : outputs.CertificateConfig {Certificate : "" , Key : "" },
241- ClientAuth : 4 },
241+ ClientAuth : 3 },
242242 AugmentEnabled : true ,
243243 Expvar : & ExpvarConfig {
244244 Enabled : & truthy ,
0 commit comments