~carbslinux/repository

ref: 3f17c8c2a94792638ef1849c97862bd1380cbb0e repository/extra/libressl/files/update-certdata.sh -rwxr-xr-x 309 bytes
3f17c8c2Cem Keylan META: Fix all usage of kiss, replace all with cpt 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e
#
# update-certdata.sh

[ -w "$CPT_ROOT/etc/ssl" ] || {
    printf '%s\n' "${0##*/}: root required to update CA certificates." >&2
    exit 1
}

cd "$CPT_ROOT/etc/ssl" && {
    wget https://curl.haxx.se/ca/cacert.pem
    mv -f cacert.pem cert.pem
    printf '%s\n' "${0##*/}: updated cert.pem"
}