2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-01-11 02:22:31 +00:00

Fix ordering of digest argument

The digest argument was erroneously inserted between startdate and it's
argument, correct this mistake.
This commit is contained in:
Jarrod Johnson
2025-10-28 15:39:04 -04:00
parent 0ad7e99efe
commit f0a779764d

View File

@@ -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]
)