Let's use the cert!

This commit is contained in:
kexkey
2019-02-01 23:46:07 -05:00
committed by kexkey
parent c004455a33
commit b4f6c65531

View File

@@ -124,7 +124,7 @@ checksparkwallet() {
echo -en "\r\n\e[1;36mTesting Spark Wallet... " > /dev/console
local rc
rc=$(curl -s -o /dev/null -k -w "%{http_code}" https://gatekeeper/sparkwallet/)
rc=$(curl -s -o /dev/null -w "%{http_code}" --cacert /gatekeeper/certs/cert.pem https://gatekeeper/sparkwallet/)
[ "${rc}" -ne "401" ] && return 400
echo -e "\e[1;36mSpark Wallet rocks!" > /dev/console