diff --git a/cert-functions.sh b/cert-functions.sh index 45dafcc..c4dea7d 100644 --- a/cert-functions.sh +++ b/cert-functions.sh @@ -162,7 +162,7 @@ function make_pfx() { -inkey "$CERT_DIR/${CERT_NAME}_key.pem" \ -in "$CERT_DIR/${CERT_NAME}_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 return 1 fi