From 9e1f45b47eecd0474973f887e1041c8e076aabfa Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Wed, 23 Aug 2023 22:16:13 +0100 Subject: [PATCH] unit test: Do not export EASYRSA_REQ_CN Signed-off-by: Richard T Bonhomme --- dev/easytls-unit-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/easytls-unit-tests.sh b/dev/easytls-unit-tests.sh index 8b664f8..a4adfa0 100755 --- a/dev/easytls-unit-tests.sh +++ b/dev/easytls-unit-tests.sh @@ -118,7 +118,7 @@ warn() { printf "%s\n" "$*"; } build_test_pki () { - for i in "build-ca nopass" \ + for i in "--req-cn='easytls-unit-test' build-ca nopass" \ "build-server-full s01 nopass" \ "build-server-full s02 nopass" \ "build-server-full s-auth nopass" \ @@ -576,7 +576,7 @@ EASYTLS_OPTS: ${EASYTLS_OPTS} " fi - export EASYRSA_REQ_CN="easytls-unit-test" + #export EASYRSA_REQ_CN="easytls-unit-test" # Setup EasyRSA print "*** EASYRSA_PKI: $EASYRSA_PKI"