diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-01-03 14:58:37 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-01-03 14:58:37 +0100 |
commit | d89b5dc1509c66ccbed1dbc7ed0e09264ea3179e (patch) | |
tree | 624783ce6c0832dad1467d8cbca6348e28248dab | |
parent | 63d7c4fb5544cd6fc243183a362bb8f2b05b5261 (diff) | |
download | tomato-d89b5dc1509c66ccbed1dbc7ed0e09264ea3179e.tar.gz tomato-d89b5dc1509c66ccbed1dbc7ed0e09264ea3179e.tar.bz2 |
RSA key for HTTPs server set to 1024 bits instead of 512 bits
-rwxr-xr-x | release/src/router/httpd/gencert.sh | 2 |
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 |