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
9 changes: 6 additions & 3 deletions test/kafka-auth/test-schema-registry-mssl-basic.td
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,18 @@ $ kafka-ingest topic=avro-data format=avro schema=${schema}

# ==> Test invalid configurations. <==

# This is a bad error message to indicate "disallowed client certificate" but
# it's not under our control.
# Disallowed client certificate. The exact error text varies between TLS
# backends and reqwest releases (we've seen `alert certificate unknown`,
# `CertificateUnknown`, and OpenSSL-level `PEM routines:get_name:no start
# line` at various times — see PR #30501); all that matters for this test
# is that the connection failed. Match on the common outer wrapper.
! CREATE CONNECTION schema_registry_invalid TO CONFLUENT SCHEMA REGISTRY (
URL 'https://mssl-basic.schema-registry.local:8082',
SSL CERTIFICATE = '${kafka-crt}',
SSL KEY = SECRET kafka_key,
SSL CERTIFICATE AUTHORITY = '${ca-crt}'
)
contains:alert certificate unknown
contains:error sending request for url

! CREATE CONNECTION schema_registry_invalid TO CONFLUENT SCHEMA REGISTRY (
URL 'https://mssl-basic.schema-registry.local:8082',
Expand Down
9 changes: 6 additions & 3 deletions test/kafka-auth/test-schema-registry-mssl.td
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,18 @@ $ kafka-ingest topic=avro-data format=avro schema=${schema}
)
contains:error sending request for url

# This is a bad error message to indicate "disallowed client certificate" but
# it's not under our control.
# Disallowed client certificate. The exact error text varies between TLS
# backends and reqwest releases (we've seen `alert certificate unknown`,
# `CertificateUnknown`, and OpenSSL-level `PEM routines:get_name:no start
# line` at various times — see PR #30501); all that matters for this test
# is that the connection failed. Match on the common outer wrapper.
! CREATE CONNECTION schema_registry_invalid TO CONFLUENT SCHEMA REGISTRY (
URL 'https://mssl.schema-registry.local:8082',
SSL CERTIFICATE = '${kafka-crt}',
SSL KEY = SECRET kafka_key,
SSL CERTIFICATE AUTHORITY = '${ca-crt}'
)
contains:alert certificate unknown
contains:error sending request for url

# This is a bad error message to indicate "invalid client certificate" but
# it's not under our control.
Expand Down
Loading