You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:description: Configure TLS encryption, authentication, and Open Policy Agent (OPA) authorization for Kafka with the Stackable Operator.
3
+
4
+
== TLS
5
+
6
+
The internal and client communication at the REST API can be encrypted with TLS. This requires the xref:secret-operator:index.adoc[Secret Operator] to be running in the Kubernetes cluster providing certificates.
7
+
The used certificates can be changed in a cluster-wide config. TLS encryption on the REST API may be disabled, while it is always enabled for the internal communication between nodes using the `transport` port.
<1> The `spec.clusterConfig.tls.httpSecretClass` refers to the client-to-server encryption at the REST API. Defaults to the `tls` SecretClass and can be disabled by setting `httpSecretClass` to `null`.
31
+
<2> The `spec.clusterConfig.tls.transportSecretClass` refers to the internal encryption between OpenSearch nodes using mTLS (transport). Defaults to the `tls` SecretClass` and can't be disabled.
32
+
<3> The lifetime for autoTls certificates generated by the secret operator.
33
+
Only a lifetime up to the `maxCertificateLifetime` setting in the SecretClass is applied.
34
+
35
+
The `tls` secret is deployed from the xref:secret-operator:index.adoc[Secret Operator] and looks like this:
36
+
37
+
[source,yaml]
38
+
----
39
+
---
40
+
apiVersion: secrets.stackable.tech/v1alpha1
41
+
kind: SecretClass
42
+
metadata:
43
+
name: tls
44
+
spec:
45
+
backend:
46
+
autoTls:
47
+
ca:
48
+
secret:
49
+
name: secret-provisioner-tls-ca
50
+
namespace: default
51
+
autoGenerate: true
52
+
maxCertificateLifetime: 15d
53
+
----
54
+
55
+
You can create your own secrets and reference them e.g. in the `spec.clusterConfig.tls.httpSecretClass` or `spec.clusterConfig.tls.transportSecretClass` to use different certificates.
0 commit comments