Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/test/pipeline.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ steps:
composition: kafka-auth
agents:
queue: hetzner-aarch64-8cpu-16gb
skip: "https://linear.app/materializeinc/issue/SS-115"

- id: kafka-exactly-once
label: Kafka exactly-once
Expand Down
4 changes: 3 additions & 1 deletion test/kafka-auth/schema-registry.jaas.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0.

// NOTE: Jetty 12 (Confluent Platform 8.x) moved the JAAS login modules from
// org.eclipse.jetty.jaas.spi to org.eclipse.jetty.security.jaas.spi.
SchemaRegistry {
org.eclipse.jetty.jaas.spi.PropertyFileLoginModule required file="/etc/schema-registry/user.properties";
org.eclipse.jetty.security.jaas.spi.PropertyFileLoginModule required file="/etc/schema-registry/user.properties";
};
8 changes: 6 additions & 2 deletions test/kafka-auth/test-kafka-mssl.td
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,19 @@ banana
BROKER 'kafka:9094',
SSL CERTIFICATE AUTHORITY = '${ca-crt}'
)
contains:ssl/tls alert bad certificate
# NOTE: the exact alert text varies with the negotiated TLS version and
# OpenSSL build (TLS 1.2: "ssl/tls alert bad certificate", TLS 1.3:
# "tlsv13 alert certificate required"), so assert only that the broker
# rejected the connection with a TLS alert.
contains:alert

! CREATE CONNECTION kafka_invalid TO KAFKA (
BROKER 'kafka:9094',
SSL CERTIFICATE '${kafka1-crt}',
SSL KEY SECRET kafka1_key,
SSL CERTIFICATE AUTHORITY '${ca-crt}'
)
contains:ssl/tls alert certificate unknown
contains:alert

! CREATE CONNECTION kafka_invalid TO KAFKA (
BROKER 'kafka:9094',
Expand Down
8 changes: 6 additions & 2 deletions test/kafka-auth/test-kafka-sasl-mssl.td
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ banana
SASL PASSWORD SECRET password,
SSL CERTIFICATE AUTHORITY = '${ca-crt}'
)
contains:ssl/tls alert bad certificate
# NOTE: the exact alert text varies with the negotiated TLS version and
# OpenSSL build (TLS 1.2: "ssl/tls alert bad certificate", TLS 1.3:
# "tlsv13 alert certificate required"), so assert only that the broker
# rejected the connection with a TLS alert.
contains:alert

! CREATE CONNECTION kafka_invalid TO KAFKA (
BROKER 'kafka:9097',
Expand All @@ -44,7 +48,7 @@ contains:ssl/tls alert bad certificate
SSL KEY SECRET kafka1_key,
SSL CERTIFICATE AUTHORITY '${ca-crt}'
)
contains:ssl/tls alert certificate unknown
contains:alert

! CREATE CONNECTION kafka_invalid TO KAFKA (
BROKER 'kafka:9097',
Expand Down
Loading