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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user