mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Additional diagnostic logging for the curious case of the disappearing certificate
This commit is contained in:
@@ -1237,12 +1237,14 @@ salt_checkin() {
|
||||
sleep 5;
|
||||
systemctl restart salt-minion;
|
||||
sleep 15;
|
||||
echo " Confirming existence of the CA certificate"
|
||||
cat /etc/pki/ca.crt
|
||||
echo " Applyng a mine hack";
|
||||
salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt;
|
||||
echo " Confirming salt mine now contain the certificate"
|
||||
salt \* mine.get \* x509.get_pem_entries
|
||||
echo " Applying SSL state";
|
||||
salt-call state.apply ssl;
|
||||
echo " Confirming mine contents"
|
||||
salt \* mine.get \* x509.get_pem_entries
|
||||
} >> "$setup_log" 2>&1
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user