Renew CA certificate
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
df586b4892
commit
926b11aea9
@ -4,7 +4,7 @@ DISTRIB=$(awk -F= '/^NAME/{print $2}' /etc/os-release)
|
|||||||
echo "Detected $DISTRIB"
|
echo "Detected $DISTRIB"
|
||||||
CRT="/tmp/syscid-ca.crt"
|
CRT="/tmp/syscid-ca.crt"
|
||||||
URL="https://web.syscid.com/syscid-ca.crt"
|
URL="https://web.syscid.com/syscid-ca.crt"
|
||||||
FP_TRUST="SHA512 Fingerprint=A6:A8:43:7C:B9:1C:DF:07:E5:31:BD:76:11:ED:A6:91:A8:01:AF:21:9E:E7:6E:6B:79:8D:65:72:A3:68:00:9B:A9:1C:69:89:83:18:D7:EE:32:B2:60:C9:2F:54:75:37:46:0A:31:21:C7:F9:DE:07:C3:A3:99:FE:0E:2A:13:B5"
|
FP_TRUST="SHA512 Fingerprint=1F:64:B2:B8:2D:C8:AB:5E:66:A1:DB:AA:6A:C6:38:5F:AE:01:39:1A:FF:B9:74:B1:AF:48:7D:34:16:82:C1:C2:31:34:9A:23:3E:21:A2:4C:35:C4:75:37:10:F0:27:96:EF:45:CF:29:78:11:CB:14:FE:49:30:89:2B:C8:03:F5"
|
||||||
if [ "${DISTRIB}" = '"openSUSE Leap"' ] || [ "${DISTRIB}" = '"openSUSE Tumbleweed"' ]; then
|
if [ "${DISTRIB}" = '"openSUSE Leap"' ] || [ "${DISTRIB}" = '"openSUSE Tumbleweed"' ]; then
|
||||||
STORE="/etc/pki/trust/anchors/"
|
STORE="/etc/pki/trust/anchors/"
|
||||||
/usr/bin/curl -kso $CRT $URL
|
/usr/bin/curl -kso $CRT $URL
|
||||||
|
Loading…
Reference in New Issue
Block a user