fix: 🐛 -CAserial, not -CAcreateserial

https://stackoverflow.com/a/66357989
master
Keith Irwin 2023-12-31 17:10:55 -07:00
parent 59692c7142
commit 3922cb225a
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ if ! sudo /usr/bin/openssl req -new -sha384 -reqexts SAN -extensions SAN \
fi
# Generate cert
if ! sudo /usr/bin/openssl x509 -req -sha384 -extensions SAN -CAcreateserial \
if ! sudo /usr/bin/openssl x509 -req -sha384 -extensions SAN -CAserial \
-extfile "${SSL_CONFIG_DIR}/${username}/${hostname}.cnf" \
-in "${SSL_CONFIG_DIR}/${username}/${hostname}.csr" \
-CA "${SSL_CA_CERT}" -CAkey "${SSL_CA_KEY}" \