Setup Kafka to use PKCS12 and remove need for converting to JKS

Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
This commit is contained in:
reyesj2
2024-05-02 14:53:28 -04:00
parent de9f6425f9
commit f663ef8c16
4 changed files with 8 additions and 33 deletions

View File

@@ -40,11 +40,13 @@ so-kafka:
- {{ BINDING }}
{% endfor %}
- binds:
- /etc/pki/kafka.jks:/etc/pki/kafka.jks
- /etc/pki/kafka.p12:/etc/pki/kafka.p12
- /opt/so/conf/ca/cacerts:/etc/pki/java/sos/cacerts
- /nsm/kafka/data/:/nsm/kafka/data/:rw
- /opt/so/conf/kafka/server.properties:/kafka/config/kraft/server.properties
{% if GLOBALS.is_manager %}
- /opt/so/conf/kafka/client.properties:/kafka/config/kraft/client.properties
{% endif %}
- watch:
{% for sc in ['server', 'client'] %}
- file: kafka_kraft_{{sc}}_properties