Add DSA support to mkcert.sh
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2667)
This commit is contained in:
parent
31b238ad05
commit
0c8736f42e
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ key() {
|
|||
rsa) args=("${args[@]}" -pkeyopt rsa_keygen_bits:$bits );;
|
||||
ec) args=("${args[@]}" -pkeyopt "ec_paramgen_curve:$bits")
|
||||
args=("${args[@]}" -pkeyopt ec_param_enc:named_curve);;
|
||||
dsa) args=(-paramfile "$bits");;
|
||||
*) printf "Unsupported key algorithm: %s\n" "$alg" >&2; return 1;;
|
||||
esac
|
||||
stderr_onerror \
|
||||
|
|
Loading…
Reference in a new issue