From 44df9cb92abe66cf12e887ef19e60a01461b3558 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Mon, 25 Apr 2022 16:27:25 +0200 Subject: Tests: Ability to add a custom server and share certificate We also now do not have to skip verification in the test files --- ci/startcompose.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ci/startcompose.sh') diff --git a/ci/startcompose.sh b/ci/startcompose.sh index fa41949..5f0338f 100755 --- a/ci/startcompose.sh +++ b/ci/startcompose.sh @@ -13,5 +13,9 @@ fi # Get absolute path to current directory this script is in SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +# Create self-signed certificate +mkdir -p "$SCRIPT_DIR"/docker/selfsigned +"$SCRIPT_DIR"/docker/createcert.sh + # Get the parent directory to get the root directory docker-compose --file ci/docker/docker-compose.yml --project-directory "$SCRIPT_DIR"/.. up --build --force-recreate --abort-on-container-exit -- cgit v1.2.3