Skip to content

Commit 313ca45

Browse files
committed
chore: ssl.ca.location
1 parent bd197f3 commit 313ca45

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/modules/kafka/src/kafka-container-7.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe("KafkaContainer", { timeout: 240_000 }, () => {
9494
"sasl.username": "app-user",
9595
"sasl.password": "userPassword",
9696
"sasl.mechanism": "scram-sha-512",
97-
ssl_ca: [fs.readFileSync(path.resolve(certificatesDir, "kafka.client.truststore.pem"))],
97+
"ssl.ca.location": path.resolve(certificatesDir, "kafka.client.truststore.pem"),
9898
}
9999
);
100100
// }
@@ -133,7 +133,8 @@ describe("KafkaContainer", { timeout: 240_000 }, () => {
133133
"sasl.username": "app-user",
134134
"sasl.password": "userPassword",
135135
"sasl.mechanism": "scram-sha-512",
136-
ssl_ca: [fs.readFileSync(path.resolve(certificatesDir, "kafka.client.truststore.pem"))],
136+
"ssl.ca.location": path.resolve(certificatesDir, "kafka.client.truststore.pem"),
137+
"enable.ssl.certificate.verification": false,
137138
}
138139
);
139140
});

packages/modules/kafka/src/kafka-container-latest.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe("KafkaContainer", { timeout: 240_000 }, () => {
6565
"sasl.username": "app-user",
6666
"sasl.password": "userPassword",
6767
"sasl.mechanism": "scram-sha-512",
68-
ssl_ca: [fs.readFileSync(path.resolve(certificatesDir, "kafka.client.truststore.pem"))],
68+
"ssl.ca.location": path.resolve(certificatesDir, "kafka.client.truststore.pem"),
6969
}
7070
);
7171
// }

0 commit comments

Comments
 (0)