From 470703a490139a382f980a41ae47799cd273aa4f Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 13 Jun 2025 06:25:38 +0200 Subject: [PATCH] luci-mod-ucentral: update certupdate for insta birth certificates Fixes: WIFI-14694 Signed-off-by: John Crispin --- feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate b/feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate index 8d760ab2d..d29eed8a7 100755 --- a/feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate +++ b/feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate @@ -17,11 +17,14 @@ mkdir -p /tmp/certs tar x -C /tmp/certs -f /tmp/certs.tar # make sure the required files exist -[ -f /tmp/certs/cas.pem -a -f /tmp/certs/key.pem -a -f /tmp/certs/cert.pem ] || exit 1 +[ -f /tmp/certs/key.pem -a -f /tmp/certs/cert.pem ] || exit 1 # copy the certificates to /etc cp /tmp/certs/*.pem /certificates +# remove old operational certs +rm /certificates/operational.* + # copy dev-id or gateway.json for a in gateway.json; do if [ -f /tmp/certs/$a ]; then