fix: correct parameter name from '-passout' to '-password' in make_pfx function
This commit is contained in:
@@ -162,7 +162,7 @@ function make_pfx() {
|
|||||||
-inkey "$CERT_DIR/${CERT_NAME}_key.pem" \
|
-inkey "$CERT_DIR/${CERT_NAME}_key.pem" \
|
||||||
-in "$CERT_DIR/${CERT_NAME}_cert.pem" \
|
-in "$CERT_DIR/${CERT_NAME}_cert.pem" \
|
||||||
-certfile "$CERT_DIR/ca_cert.pem" \
|
-certfile "$CERT_DIR/ca_cert.pem" \
|
||||||
-passout pass:stdin; then
|
-password pass:stdin; then
|
||||||
echo "ERROR: Failed to generate PKCS#12 (PFX) file." >&2
|
echo "ERROR: Failed to generate PKCS#12 (PFX) file." >&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user