Use more secure exponent for generating keys

Bug: 7246090
Change-Id: Ic6cbac975fcb96b436e27a87b1f81b5e3dac6321
This commit is contained in:
Baligh Uddin
2012-09-28 11:30:10 -07:00
parent 7b4874660e
commit 6b03c84e6e

View File

@@ -49,7 +49,7 @@ chmod 0600 ${one} ${two}
read -p "Enter password for '$1' (blank for none; password will be visible): " \
password
( openssl genrsa -3 2048 | tee ${one} > ${two} ) &
( openssl genrsa -f4 2048 | tee ${one} > ${two} ) &
openssl req -new -x509 -sha1 -key ${two} -out $1.x509.pem \
-days 10000 -subj "$2" &