Setup Script - Hack the x509

This commit is contained in:
Mike Reeves
2018-10-11 10:12:32 -04:00
parent 5c0d425661
commit 4f74cc8962

View File

@@ -526,6 +526,7 @@ salt_checkin() {
# Master State to Fix Mine Usage
if [ $INSTALLTYPE == 'MASTERONLY' ]; then
salt-call state.apply ca >>~/sosetup.log 2>&1
sudo salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt
# salt-call state.apply ssl >>~/sosetup.log 2>&1
# salt-call state.apply common >>~/sosetup.log 2>&1
echo " *** Restarting Salt to fix any SSL errors. ***"