aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/gencert2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gencert b/contrib/gencert
index 20ce1de..64dce1f 100755
--- a/contrib/gencert
+++ b/contrib/gencert
@@ -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