We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 400b3f0 + a496003 commit da9b9d7Copy full SHA for da9b9d7
scripts/create-new-user.sh
@@ -11,6 +11,12 @@ createCert() {
11
trap "rm -f $csr_file" EXIT
12
csr_name="$(echo ${RANDOM} | shasum | head -c 40)"
13
14
+ # Check if openssl is available
15
+ if ! command -v openssl &>/dev/null; then
16
+ echo "Error: 'openssl' is not installed or not available in PATH." >&2
17
+ exit 1
18
+ fi
19
+
20
openssl req -new -newkey rsa:4096 \
21
-keyout "${priv_key_file}" \
22
-out "${csr_file}" \
0 commit comments