Skip to content

Commit

Permalink
Merge pull request #350 from lsst-sqre/tickets/DM-48098
Browse files Browse the repository at this point in the history
DM-48098: Add key usage to the Kafka test CA
  • Loading branch information
rra authored Dec 12, 2024
2 parents 6ffb0a8 + d3ded50 commit 838d71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safir/tests/support/kafka/data/generate-kafka-secrets.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mkdir -p "${OUT_DIR}"
cd "${OUT_DIR}" || exit

# PEM CA cert and key
openssl req -new -x509 -keyout ${CA_KEY} -out ${CA_CERT} -days 365 -subj "/CN=ca" -nodes
openssl req -new -x509 -addext 'keyUsage=critical, cRLSign, digitalSignature, keyCertSign' -keyout ${CA_KEY} -out ${CA_CERT} -days 365 -subj "/CN=ca" -nodes

# Server truststore CA cert
keytool -keystore ${SERVER_TRUSTSTORE} -alias CARoot -storepass ${PASSWORD} -importcert -file ${CA_CERT} -noprompt
Expand Down

0 comments on commit 838d71b

Please sign in to comment.