change(docker): use step-ca for CA + cert generation

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-27 16:43:29 -08:00
parent e558e979ff
commit b98159d5b9
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
10 changed files with 160 additions and 69 deletions

View file

@ -15,7 +15,7 @@ if [ -f "$CERT" ]; then
cp -vf "$CERT" "$DEST_CERT"
cp -vf "$KEY" "$DEST_KEY"
else
cat /data/localhost.cert.pem /data/ca.root.pem > "$DEST_CERT"
cat /data/localhost.cert.pem /data/root_ca.crt > "$DEST_CERT"
cp -vf /data/localhost.key.pem "$DEST_KEY"
fi