mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #6707 from Security-Onion-Solutions/fix/ub1804ssl
put x509 signing policies in place when minion is configured
This commit is contained in:
@@ -760,9 +760,11 @@ configure_minion() {
|
|||||||
|
|
||||||
case "$minion_type" in
|
case "$minion_type" in
|
||||||
'helix')
|
'helix')
|
||||||
|
cp -f ../salt/ca/files/signing_policies.conf /etc/salt/minion.d/signing_policies.conf
|
||||||
echo "master: '$HOSTNAME'" >> "$minion_config"
|
echo "master: '$HOSTNAME'" >> "$minion_config"
|
||||||
;;
|
;;
|
||||||
'manager' | 'eval' | 'managersearch' | 'standalone' | 'import')
|
'manager' | 'eval' | 'managersearch' | 'standalone' | 'import')
|
||||||
|
cp -f ../salt/ca/files/signing_policies.conf /etc/salt/minion.d/signing_policies.conf
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
"master: '$HOSTNAME'"\
|
"master: '$HOSTNAME'"\
|
||||||
"mysql.host: '$MAINIP'"\
|
"mysql.host: '$MAINIP'"\
|
||||||
|
|||||||
Reference in New Issue
Block a user