mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #166 from Security-Onion-Solutions/feature/fix_hive
fix ssl verify hive_init.sh
This commit is contained in:
@@ -16,7 +16,7 @@ hive_init(){
|
|||||||
COUNT=0
|
COUNT=0
|
||||||
HIVE_CONNECTED="no"
|
HIVE_CONNECTED="no"
|
||||||
while [[ "$COUNT" -le 240 ]]; do
|
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
|
if [ $? -eq 0 ]; then
|
||||||
HIVE_CONNECTED="yes"
|
HIVE_CONNECTED="yes"
|
||||||
echo "connected!"
|
echo "connected!"
|
||||||
|
|||||||
Reference in New Issue
Block a user