mirror of https://github.com/omar-polo/gmid.git
gencert: use secp384r1
prime256v1 should be perfectly fine for all I understand, but OpenBSD' acme-client uses secp384r1 and who am I to disagree :)
This commit is contained in:
parent
7fff8aa6cb
commit
892f3a5cf8
|
@ -80,7 +80,7 @@ if [ -f "$pem" -o -f "$key" ]; then
|
|||
fi
|
||||
|
||||
if [ $ec = yes ]; then
|
||||
openssl ecparam -name prime256v1 -genkey -noout -out "${key}" && \
|
||||
openssl ecparam -name secp384r1 -genkey -noout -out "${key}" && \
|
||||
openssl req -new -x509 -key "${key}" -out "${pem}" -days "${days}" \
|
||||
-nodes -subj "/CN=$hostname"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue