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:
Omar Polo 2023-06-09 20:43:12 +00:00
parent 7fff8aa6cb
commit 892f3a5cf8
1 changed files with 1 additions and 1 deletions

View File

@ -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