Properly set the key length

I was setting the key length to 2048  but this was being taken in
as a value for -rand, and the key length was being set to 512 (the default)

Change-Id: Ib4559fe27051429275f8dd03f34a506d31a7f420
This commit is contained in:
Derek Higgins
2013-03-21 11:06:21 -04:00
parent afa3ffb048
commit 09ab3552d6

View File

@@ -32,6 +32,6 @@ answers() {
# gen key and self signed host cert
openssl genrsa -rand 2048 > $SSLKEY 2> /dev/null
openssl genrsa 2048 > $SSLKEY 2> /dev/null
answers $FQDN | openssl req -new -x509 -days 1096 -key $SSLKEY -text -out $SSLCERT