Class SchemaRegistrySslOptions
SSL/TLS configuration options for the Confluent Schema Registry connection.
public sealed class SchemaRegistrySslOptions
- Inheritance
-
SchemaRegistrySslOptions
- Inherited Members
- Extension Methods
Remarks
This sub-options class is part of the ConfluentSchemaRegistryOptions ISP split to keep each class within the 10-property gate.
Properties
EnableSslCertificateVerification
Gets or sets whether to enable SSL verification.
public bool EnableSslCertificateVerification { get; set; }
Property Value
SslCaLocation
Gets or sets the SSL CA certificate location.
public string? SslCaLocation { get; set; }
Property Value
SslKeystoreLocation
Gets or sets the client keystore presented for mutual TLS.
public string? SslKeystoreLocation { get; set; }
Property Value
- string
The path to a PKCS#12 (
.p12/.pfx) keystore holding the client certificate and its private key, or null when not using mTLS.
Remarks
A keystore rather than a certificate/key pair because that is the only client-credential shape the Schema Registry client accepts. The broker client takes separate PEM files; the registry client does not, and a certificate and key configured as separate paths cannot be presented to the registry at all — they would read as mutual TLS and produce a one-way TLS connection.
SslKeystorePassword
Gets or sets the password protecting SslKeystoreLocation.
public string? SslKeystorePassword { get; set; }