mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update ssl shared object locations
This commit is contained in:
parent
2dbdea9065
commit
b644e2d25b
1 changed files with 8 additions and 8 deletions
|
@ -365,8 +365,8 @@ if [ $1 -lt 2 ]; then
|
|||
# ensure hmac are up to date, master or minion, rest install one or the other
|
||||
# key used is from openssl/crypto/fips/fips_standalone_hmac.c openssl 1.1.1k
|
||||
if [ $(cat /etc/os-release | grep VERSION_ID | cut -d '=' -f 2 | sed 's/\"//g' | cut -d '.' -f 1) = "8" ]; then
|
||||
/bin/openssl sha256 -r -hmac orboDeJITITejsirpADONivirpUkvarP /opt/saltstack/salt/run/libssl.so.1.1 | cut -d ' ' -f 1 > /opt/saltstack/salt/run/.libssl.so.1.1.hmac || :
|
||||
/bin/openssl sha256 -r -hmac orboDeJITITejsirpADONivirpUkvarP /opt/saltstack/salt/run/libcrypto.so.1.1 | cut -d ' ' -f 1 > /opt/saltstack/salt/run/.libcrypto.so.1.1.hmac || :
|
||||
/bin/openssl sha256 -r -hmac orboDeJITITejsirpADONivirpUkvarP /opt/saltstack/salt/lib/libssl.so.1.1 | cut -d ' ' -f 1 > /opt/saltstack/salt/lib/.libssl.so.1.1.hmac || :
|
||||
/bin/openssl sha256 -r -hmac orboDeJITITejsirpADONivirpUkvarP /opt/saltstack/salt/lib/libcrypto.so.1.1 | cut -d ' ' -f 1 > /opt/saltstack/salt/lib/.libcrypto.so.1.1.hmac || :
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -384,8 +384,8 @@ if [ $1 -lt 2 ]; then
|
|||
# ensure hmac are up to date, master or minion, rest install one or the other
|
||||
# key used is from openssl/crypto/fips/fips_standalone_hmac.c openssl 1.1.1k
|
||||
if [ $(cat /etc/os-release | grep VERSION_ID | cut -d '=' -f 2 | sed 's/\"//g' | cut -d '.' -f 1) = "8" ]; then
|
||||
/bin/openssl sha256 -r -hmac orboDeJITITejsirpADONivirpUkvarP /opt/saltstack/salt/run/libssl.so.1.1 | cut -d ' ' -f 1 > /opt/saltstack/salt/run/.libssl.so.1.1.hmac || :
|
||||
/bin/openssl sha256 -r -hmac orboDeJITITejsirpADONivirpUkvarP /opt/saltstack/salt/run/libcrypto.so.1.1 | cut -d ' ' -f 1 > /opt/saltstack/salt/run/.libcrypto.so.1.1.hmac || :
|
||||
/bin/openssl sha256 -r -hmac orboDeJITITejsirpADONivirpUkvarP /opt/saltstack/salt/lib/libssl.so.1.1 | cut -d ' ' -f 1 > /opt/saltstack/salt/lib/.libssl.so.1.1.hmac || :
|
||||
/bin/openssl sha256 -r -hmac orboDeJITITejsirpADONivirpUkvarP /opt/saltstack/salt/lib/libcrypto.so.1.1 | cut -d ' ' -f 1 > /opt/saltstack/salt/lib/.libcrypto.so.1.1.hmac || :
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -402,8 +402,8 @@ if [ $1 -eq 0 ]; then
|
|||
if [ $(cat /etc/os-release | grep VERSION_ID | cut -d '=' -f 2 | sed 's/\"//g' | cut -d '.' -f 1) = "8" ]; then
|
||||
if [ -z "$(rpm -qi salt-minion | grep Name | grep salt-minion)" ]; then
|
||||
# uninstall and no minion running
|
||||
/bin/rm -f /opt/saltstack/salt/run/.libssl.so.1.1.hmac || :
|
||||
/bin/rm -f /opt/saltstack/salt/run/.libcrypto.so.1.1.hmac || :
|
||||
/bin/rm -f /opt/saltstack/salt/lib/.libssl.so.1.1.hmac || :
|
||||
/bin/rm -f /opt/saltstack/salt/lib/.libcrypto.so.1.1.hmac || :
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -417,8 +417,8 @@ if [ $1 -eq 0 ]; then
|
|||
if [ $(cat /etc/os-release | grep VERSION_ID | cut -d '=' -f 2 | sed 's/\"//g' | cut -d '.' -f 1) = "8" ]; then
|
||||
if [ -z "$(rpm -qi salt-master | grep Name | grep salt-master)" ]; then
|
||||
# uninstall and no master running
|
||||
/bin/rm -f /opt/saltstack/salt/run/.libssl.so.1.1.hmac || :
|
||||
/bin/rm -f /opt/saltstack/salt/run/.libcrypto.so.1.1.hmac || :
|
||||
/bin/rm -f /opt/saltstack/salt/lib/.libssl.so.1.1.hmac || :
|
||||
/bin/rm -f /opt/saltstack/salt/lib/.libcrypto.so.1.1.hmac || :
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue