summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrelease/src/router/httpd/gencert.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/src/router/httpd/gencert.sh b/release/src/router/httpd/gencert.sh
index 8a1f837e..9aeae685 100755
--- a/release/src/router/httpd/gencert.sh
+++ b/release/src/router/httpd/gencert.sh
@@ -18,7 +18,7 @@ for CN in $NVCN; do
done
# create the key and certificate request
-openssl req -new -out /tmp/cert.csr -config openssl.config -keyout /tmp/privkey.pem -newkey rsa:512 -passout pass:password
+openssl req -new -out /tmp/cert.csr -config openssl.config -keyout /tmp/privkey.pem -newkey rsa:1024 -passout pass:password
# remove the passphrase from the key
openssl rsa -in /tmp/privkey.pem -out key.pem -passin pass:password
# convert the certificate request into a signed certificate