update: ensure CA directory is created before generating certificates
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
CA_DIR="${CA_DIR:-./ca}"
|
CA_DIR="${CA_DIR:-./ca}"
|
||||||
CA_NAME="${CA_NAME:-Azurite Emulator CA}"
|
CA_NAME="${CA_NAME:-Azurite Emulator CA}"
|
||||||
STORAGE_ACCOUNT_NAME="${STORAGE_ACCOUNT_NAME:-azuritelocal}"
|
STORAGE_ACCOUNT_NAME="${STORAGE_ACCOUNT_NAME:-azuritelocal}"
|
||||||
|
mkdir -p "$CA_DIR"
|
||||||
openssl req \
|
openssl req \
|
||||||
-x509 -noenc -text \
|
-x509 -noenc -text \
|
||||||
-newkey rsa:4096 \
|
-newkey rsa:4096 \
|
||||||
|
|||||||
Reference in New Issue
Block a user