-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapply-security-patch.sh
More file actions
18 lines (14 loc) · 1.09 KB
/
apply-security-patch.sh
File metadata and controls
18 lines (14 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
apt install -y unzip ufw
curl --noproxy certificates.intel.com -k https://certificates.intel.com/repository/certificates/TrustBundles/IntelSHA384TrustChain-Base64.zip -o IntelSHA384TrustChain-Base64.zip
curl --noproxy certificates.intel.com -k https://certificates.intel.com/repository/certificates/IntelSHA2RootChain-Base64.zip -o IntelSHA2RootChain-Base64.zip
mkdir -p /usr/local/share/ca-certificates
# unzip ~/"IntelRootCertificateChainBase64.zip" -d /usr/local/share/ca-certificates
unzip "IntelSHA2RootChain-Base64.zip" -d /usr/local/share/ca-certificates
unzip "IntelSHA384TrustChain-Base64.zip" -d /usr/local/share/ca-certificates
update-ca-certificates
c_rehash
# wget -4 -e use_proxy=no https://isscorp.intel.com/IntelSM_BigFix/21074/All_BigFix_Client_Installers/Non_Windows/bigfix_non_windows-BESClient_Labs_Prod-TLS.sh
wget -4 -e use_proxy=no https://isscorp.intel.com/IntelSM_BigFix/21074/All_BigFix_Client_Installers/Non_Windows/bigfix_non_windows-BESClient_Labs_Prod-TLS.sh
chmod 744 bigfix_non_windows-BESClient_Labs_Prod-TLS.sh
sudo ./bigfix_non_windows-BESClient_Labs_Prod-TLS.sh