summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-04-12 18:35:03 -0700
committerEric Wong <normalperson@yhbt.net>2012-04-12 18:36:02 -0700
commitd258653745e1c8e8fa13b95b1944729294804946 (patch)
tree24c89d4a9012adae42b1fc0c83c5e6e97d473018
parent12cd717d612fe8170f53f5f8377137e1b41db015 (diff)
This seems required for TLSv1.2 under OpenSSL 1.0.1
-rwxr-xr-xt/sslgen.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/sslgen.sh b/t/sslgen.sh
index eb259bb..e37d966 100755
--- a/t/sslgen.sh
+++ b/t/sslgen.sh
@@ -36,13 +36,13 @@ ca_certinfo () {
         echo unicorn@bogomips.org
 }
 
-openssl genrsa -out ca.key 512
+openssl genrsa -out ca.key 1024
 ca_certinfo | openssl req -new -x509 -days 666 -key ca.key -out ca.crt
 
-openssl genrsa -out bad-ca.key 512
+openssl genrsa -out bad-ca.key 1024
 ca_certinfo | openssl req -new -x509 -days 666 -key bad-ca.key -out bad-ca.crt
 
-openssl genrsa -out server.key 512
+openssl genrsa -out server.key 1024
 certinfo2 | openssl req -new -key server.key -out server.csr
 
 openssl x509 -req -days 666 \
@@ -50,7 +50,7 @@ openssl x509 -req -days 666 \
 n=2
 mk_client_cert () {
         CLIENT=$1
-        openssl genrsa -out $CLIENT.key 512
+        openssl genrsa -out $CLIENT.key 1024
         certinfo2 | openssl req -new -key $CLIENT.key -out $CLIENT.csr
 
         openssl x509 -req -days 666 \