(20241226) Kafka certs in order.

This commit is contained in:
2024-12-27 18:36:16 +05:30
parent 6f2285c536
commit 61777d7f05
3 changed files with 67 additions and 20 deletions
+3 -3
View File
@@ -241,9 +241,9 @@ async def init():
bootstrap_servers = "del.ditscentre.in:9092",
security_protocol = "SSL",
ssl_context = get_ssl_context(
ca_file = "../../../creds/kafka/cert_authority.pem",
cert_file = "../../../creds/kafka/fullchain.pem",
key_file = "../../../creds/kafka/privkey.pem"
ca_file = "/etc/ssl/dbu/ca.pem",
cert_file = "/etc/ssl/dbu/fullchain.pem",
key_file = "/etc/ssl/dbu/privkey.pem"
# ca_file = os.path.join(parent_dir, "creds", "kafka", "cert_authority.pem"),
# cert_file = os.path.join(parent_dir, "creds", "kafka", "fullchain.pem"),
# key_file = os.path.join(parent_dir, "creds", "kafka", "privkey.pem")