openssl: use key length of 2048 in mksslcert
This commit is contained in:
parent
4ccd402081
commit
cb55032a90
@ -1,2 +1,2 @@
|
|||||||
9d0df57845af8acd1027a7df5c18d017 mksslcert.sh
|
768686b50408da41c4cf7d7038c9b615 mksslcert.sh
|
||||||
66bf6f10f060d561929de96f9dfe5b8c openssl-1.0.1e.tar.gz
|
66bf6f10f060d561929de96f9dfe5b8c openssl-1.0.1e.tar.gz
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
name=openssl
|
name=openssl
|
||||||
version=1.0.1e
|
version=1.0.1e
|
||||||
release=1
|
release=2
|
||||||
source=(http://www.openssl.org/source/$name-$version.tar.gz \
|
source=(http://www.openssl.org/source/$name-$version.tar.gz \
|
||||||
mksslcert.sh)
|
mksslcert.sh)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ main() {
|
|||||||
FQDN="$3"
|
FQDN="$3"
|
||||||
fi
|
fi
|
||||||
INFO=".\n.\n.\n.\n.\n$FQDN\nroot@$FQDN"
|
INFO=".\n.\n.\n.\n.\n$FQDN\nroot@$FQDN"
|
||||||
OPTS="req -new -nodes -x509 -days 365 -newkey rsa:1024"
|
OPTS="req -new -nodes -x509 -days 365 -newkey rsa:2048"
|
||||||
|
|
||||||
echo -e $INFO | openssl $OPTS -out $CRT -keyout $KEY 2> /dev/null
|
echo -e $INFO | openssl $OPTS -out $CRT -keyout $KEY 2> /dev/null
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user