From 5f0ea10723fff16190c4bf7754b01f8ca47f4cd6 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Thu, 4 Jan 2024 23:48:51 +0100 Subject: [PATCH] Switch to ECC keys --- tests/make-certs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/make-certs.sh b/tests/make-certs.sh index 23672e6..8117698 100755 --- a/tests/make-certs.sh +++ b/tests/make-certs.sh @@ -15,11 +15,11 @@ KEYCERT_PATH="$SSL_PATH/${DOMAIN}" # bake the keys if [ ! -f $CA_PATH.key ]; then - openssl genrsa -out $CA_PATH.key 2048 + openssl ecparam -out $CA_PATH.key -name prime256v1 -genkey fi if [ ! -f $KEYCERT_PATH.key ]; then - openssl genrsa -out $KEYCERT_PATH.key 2048 + openssl ecparam -out $KEYCERT_PATH.key -name prime256v1 -genkey fi # bake the CA