Merge pull request 'Renew CA certificate' (#14) from ca2023 into master

Reviewed-on: #14
This commit is contained in:
Georg Pfuetzenreuter 2023-08-06 03:32:31 +02:00
commit 58b13912a7

View File

@ -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=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" FP_TRUST="SHA512 Fingerprint=53:85:72:A7:39:80:42:5B:54:19:7A:28:E8:A4:60:CE:6F:F3:D8:87:0D:6A:27:DE:00:05:C4:52:96:5B:BF:CB:BE:8D:39:C8:C3:76:59:8C:9C:DE:4C:C7:E8:10:1C:B9:6E:AF:82:36:5E:51:43:B3:B7:AE:B8:54:84:B8:4A:07"
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