From 38321421c4263c1aae5ebcb70cfe60ff05fc01f1 Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Fri, 8 Jan 2016 12:11:02 -0500 Subject: [PATCH] Tell resty to accept self-signed certs --- tests/api-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api-test.sh b/tests/api-test.sh index 83cc61d..5283309 100755 --- a/tests/api-test.sh +++ b/tests/api-test.sh @@ -72,7 +72,7 @@ echo "${payload}" | perl -0007 -MJSON -ne'print to_json(from_json($_, {allow_non echo "" echo "REST Response:" echo "-------------------------------" -PUT /${namesp}/${name} "${payload}" -v 2>/tmp/.rstErr +PUT /${namesp}/${name} "${payload}" -v -k 2>/tmp/.rstErr if [ $? -ne 0 ] ; then echo "Failed.. Error output:" cat /tmp/.rstErr