Merge pull request #166 from Security-Onion-Solutions/feature/fix_hive

fix ssl verify hive_init.sh
This commit is contained in:
weslambert
2019-12-18 14:20:43 -05:00
committed by GitHub

View File

@@ -16,7 +16,7 @@ hive_init(){
COUNT=0
HIVE_CONNECTED="no"
while [[ "$COUNT" -le 240 ]]; do
curl --output /dev/null --silent --head --fail "https://$HIVE_IP:/thehive"
curl --output /dev/null --silent --head --fail -k "https://$HIVE_IP:/thehive"
if [ $? -eq 0 ]; then
HIVE_CONNECTED="yes"
echo "connected!"