From eb716a24edacfe87801657e9bcf59c702bf78157 Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Thu, 18 Jan 2024 14:27:50 +0100 Subject: [PATCH] fix: Disable HTTPS validation in Node layer instead of i program layer in test with self-signed certificate --- tests/localtest/test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/localtest/test.sh b/tests/localtest/test.sh index 429ad5d..aebcb1d 100755 --- a/tests/localtest/test.sh +++ b/tests/localtest/test.sh @@ -56,8 +56,7 @@ printf "* Running containerify to pull from and push result to the local contain cd ../integration/app npm ci cd ../../localtest -../../lib/cli.js --registry https://${LOCAL_REGISTRY}:5443/v2/ \ - --allowInsecureRegistries \ +NODE_TLS_REJECT_UNAUTHORIZED=0 ../../lib/cli.js --registry https://${LOCAL_REGISTRY}:5443/v2/ \ --token "Basic $BASICAUTH" \ --fromImage node \ --toImage containerify-integration-test:localtest \