Skip to content

Commit

Permalink
Skip verify for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Sep 5, 2023
1 parent cc9174e commit 076a873
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/bmc/nsq.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ func (b *BMCService) InitConsumer() error {

config := nsq.NewConfig()
config.TlsConfig = &tls.Config{
Certificates: []tls.Certificate{cert},
ClientCAs: caCertPool,
ClientAuth: tls.RequireAndVerifyClientCert,
MinVersion: tls.VersionTLS12,
Certificates: []tls.Certificate{cert},
ClientCAs: caCertPool,
ClientAuth: tls.RequireAndVerifyClientCert,
MinVersion: tls.VersionTLS12,
InsecureSkipVerify: true, //nolint FIXME
}
config.TlsV1 = true

Expand Down

0 comments on commit 076a873

Please sign in to comment.