Remove quotes around $pkcs_opts
Credit to @OtherSystems and @Antagonym and some others who pointed this out. This resolves #189 and #193 and #186 and #179. Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
parent
9708b2afc4
commit
67f76dafe0
@ -897,16 +897,18 @@ Missing key expected at: $key_in"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# export the p12:
|
# export the p12:
|
||||||
|
# shellcheck disable=SC2086
|
||||||
"$EASYRSA_OPENSSL" pkcs12 -in "$crt_in" -inkey "$key_in" -export \
|
"$EASYRSA_OPENSSL" pkcs12 -in "$crt_in" -inkey "$key_in" -export \
|
||||||
-out "$pkcs_out" "$pkcs_opts" || die "\
|
-out "$pkcs_out" $pkcs_opts || die "\
|
||||||
Export of p12 failed: see above for related openssl errors."
|
Export of p12 failed: see above for related openssl errors."
|
||||||
;;
|
;;
|
||||||
p7)
|
p7)
|
||||||
pkcs_out="$EASYRSA_PKI/issued/$short_name.p7b"
|
pkcs_out="$EASYRSA_PKI/issued/$short_name.p7b"
|
||||||
|
|
||||||
# export the p7:
|
# export the p7:
|
||||||
|
# shellcheck disable=SC2086
|
||||||
"$EASYRSA_OPENSSL" crl2pkcs7 -nocrl -certfile "$crt_in" \
|
"$EASYRSA_OPENSSL" crl2pkcs7 -nocrl -certfile "$crt_in" \
|
||||||
-out "$pkcs_out" "$pkcs_opts" || die "\
|
-out "$pkcs_out" $pkcs_opts || die "\
|
||||||
Export of p7 failed: see above for related openssl errors."
|
Export of p7 failed: see above for related openssl errors."
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user