Get the most out of your Centmin Mod LEMP stack
Become a Member

Stable Branch fix unverified TLS downloads, repeated reboot alerts and upstream che…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 22, 2026 at 2:44 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,588
    12,631
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,298
    Local Time:
    10:44 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix unverified TLS downloads, repeated reboot alerts and upstream checker lookup exit in 132.00stable

    Root cron jobs and menu 23 fetched files without TLS verification, the
    reboot needed Pushover alert repeated on every check-for-updates.sh cron
    run while a reboot was pending, and tools/check-upstream-versions.sh
    exited 0 when every upstream lookup failed. Verified TLS works on CentOS 6
    and CentOS 7 CA bundles (Let's Encrypt chains cross-signed to ISRG Root X1),
    so no insecure fallback is kept.

    Changes:
    - cminfo_updater (inc/cpcheck.inc and tools/cminfo.sh setupdate): drop wget --no-check-certificate, download to a temp file and install it only if it is a bash script that passes bash -n; a failed download keeps the current /usr/bin/cminfo instead of deleting it first
    - tools/jetpackips.sh: drop curl -k, add -f and timeouts, and rewrite jetpack_whitelist_ip.conf only from a non-empty list of IPv4 addresses/ranges; a failed fetch no longer writes the error page as allow lines or a bare deny all
    - tools/check-for-updates.sh: the reboot needed alert gets a sent marker keyed on the boot id and the updated package list, written only after Pushover confirms delivery
    - giturl.txt and gitclean.txt fetches (inc/updater_submenu.inc menu 23, inc/cpcheck.inc, config/motd/dmotd.sh, tools/check-for-updates.sh): drop curl -k and accept only a https github.com/gitlab.com git url; menu 23 clones and the update prompt fall back to the default repo, dmotd and check-for-updates ignore anything else
    - tools/check-upstream-versions.sh: exit 3 and a WARNING line when an upstream lookup fails, so an outage no longer reads as all OK; exit 0/1/2 meanings are unchanged, and a pin-only row now shows ? instead of OK when its tag lookup fails

    Continue reading...

    132.00stable branch