From 4447ef0a78eed6321ba5d82efbafcafc23c54364 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Fri, 19 Nov 2021 17:39:31 +0100 Subject: [PATCH] Increase dhparams key size when testing --- tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.sh b/tests/test.sh index bac01cd..cf8b8a8 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -34,7 +34,7 @@ _cleanup() _setup_crypto_stuff() { echo "Generating SSL files..." - openssl dhparam -out "$TMP_DIR"/dhparams.pem 512 > /dev/null 2>&1 + openssl dhparam -out "$TMP_DIR"/dhparams.pem 1024 > /dev/null 2>&1 openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \ -subj "/C=ES/ST=Madrid/L=Madrid/O=dcarrillo/CN=localhost" \ -keyout "$TMP_DIR"/cert.key -out "$TMP_DIR"/cert.pem > /dev/null 2>&1