From f0a779764d8a22c9468b0767f1a086cd6909ffe6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 28 Oct 2025 15:39:04 -0400 Subject: [PATCH] Fix ordering of digest argument The digest argument was erroneously inserted between startdate and it's argument, correct this mistake. --- confluent_server/confluent/certutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/certutil.py b/confluent_server/confluent/certutil.py index 74827304..549c2aeb 100644 --- a/confluent_server/confluent/certutil.py +++ b/confluent_server/confluent/certutil.py @@ -242,7 +242,7 @@ def create_full_ca(certout): subprocess.check_call( ['openssl', 'ca', '-config', newcfg, '-batch', '-selfsign', '-extensions', 'CACert', '-extfile', newcfg, - '-notext', '-startdate', '-md', 'sha384', + '-notext', '-md', 'sha384', '-startdate', '19700101010101Z', '-enddate', '21000101010101Z', '-keyfile', keyout, '-out', '/etc/confluent/tls/ca/cacert.pem', '-in', csrout] )