Skip to content

Commit 344ddf7

Browse files
committed
add bootstrap configs for client_auth as well
1 parent 57b7ffc commit 344ddf7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rust/crd/src/security.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,11 @@ impl KafkaTlsSecurity {
492492
Self::CLIENT_SSL_TRUSTSTORE_TYPE.to_string(),
493493
"PKCS12".to_string(),
494494
);
495+
}
496+
497+
if self.tls_client_authentication_class().is_some()
498+
|| self.tls_server_secret_class().is_some()
499+
{
495500
// Bootstrap
496501
config.insert(
497502
Self::BOOTSTRAP_SSL_KEYSTORE_LOCATION.to_string(),

0 commit comments

Comments
 (0)