mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Force regen of ssl cert
This commit is contained in:
@@ -919,6 +919,9 @@ echo "1" > /root/accept_changes
|
|||||||
set_progress_str 77 "$(print_salt_state_apply 'fleet.event_update-custom-hostname')"
|
set_progress_str 77 "$(print_salt_state_apply 'fleet.event_update-custom-hostname')"
|
||||||
pillar_override="{\"global\":{\"fleet_custom_hostname\": \"$FLEETCUSTOMHOSTNAME\"}}"
|
pillar_override="{\"global\":{\"fleet_custom_hostname\": \"$FLEETCUSTOMHOSTNAME\"}}"
|
||||||
salt-call state.apply -l info fleet.event_update-custom-hostname pillar="$pillar_override" >> $setup_log 2>&1
|
salt-call state.apply -l info fleet.event_update-custom-hostname pillar="$pillar_override" >> $setup_log 2>&1
|
||||||
|
rm -f /etc/pki/managerssl.crt
|
||||||
|
salt-call state.apply -l info ssl >> $setup_log 2>&1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set_progress_str 78 "$(print_salt_state_apply 'so-fleet-setup')"
|
set_progress_str 78 "$(print_salt_state_apply 'so-fleet-setup')"
|
||||||
|
|||||||
Reference in New Issue
Block a user