@@ -57,12 +57,13 @@ In order to deploy the test site, the following steps would normally be taken:
certtool --template tls/templates/example_ca.cfg --generate-self-signed --load-privkey tls/example_ca.key --outfile tls/example_ca.pem
cp tls/example_ca.pem tls/example_ca_chain.pem
for template in tls/templates/*.cfg; do
entity_basename="$(basename "$template" .cfg)"
[[ $entity_basename == example_ca ]] && continue
certtool --sec-param normal --generate-privkey --outfile "tls/$entity_basename.key"
sleep 1
certtool --generate-certificate \
--load-ca-privkey "tls/example_ca.key" \
--load-ca-certificate "tls/example_ca.pem" \
--template "$template" \
--load-privkey "tls/${entity_basename}.key" \
--outfile "tls/${entity_basename}.pem"