Skip to content

Commit

Permalink
Merge pull request #421 from target/SSLFix
Browse files Browse the repository at this point in the history
Bugfix: Add fix for SSL CA Bundle Verification Issue
  • Loading branch information
phutelmyer authored Jan 4, 2024
2 parents 37ef3c4 + 300c4e6 commit 3a32308
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/go/cmd/strelka-frontend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,12 @@ func main() {
if !*locallog && *kafkalog {
log.Printf("Creating new Kafka producer.")
p, err := kafka.NewProducer(&kafka.ConfigMap{
"bootstrap.servers": conf.Broker.Bootstrap,
"security.protocol": conf.Broker.Protocol,
"ssl.certificate.location": conf.Broker.Certlocation,
"ssl.key.location": conf.Broker.Keylocation,
"ssl.ca.location": conf.Broker.Calocation,
"bootstrap.servers": conf.Broker.Bootstrap,
"security.protocol": conf.Broker.Protocol,
"ssl.certificate.location": conf.Broker.Certlocation,
"ssl.key.location": conf.Broker.Keylocation,
"ssl.ca.location": conf.Broker.Calocation,
"ssl.endpoint.identification.algorithm": "none",
})
if err != nil {
log.Fatalf("FAILED TO CREATE KAFKA PRODUCER: ERROR %v", err)
Expand Down

0 comments on commit 3a32308

Please sign in to comment.