mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix ssl verify hive_init.sh
This commit is contained in:
committed by
William Wernert
parent
2319f503f8
commit
b97ff72bc2
@@ -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