Welcome to Centmin Mod Community
Become a Member

Master Branch acmetool.sh 1.0.74

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 14, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    47,284
    10,693
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,617
    Local Time:
    8:12 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    acmetool.sh 1.0.74

    - disable beta test notice on script run so you no longer get a continue prompt
    - add fix_acme_endpoint routine which runs on acmetool.sh acmeupdate or acmeinstall commands to check for any legacy acme-v01.api endpoint set Le_API variables in server's domain config files located at /root/.acme.sh/ directory for each respective domain with an already issued SSL certificate
    - ensure acme.sh client defaults to Letsencrypt SSL CA provider

    example acmetool.sh acmeupdate command output

    /usr/local/src/centminmod/addons/acmetool.sh acmeupdate


    ------------------------------------------------------------------------------
    Version Check:
    ------------------------------------------------------------------------------
    !!! there maybe a newer version of /usr/local/src/centminmod/addons/acmetool.sh available !!!
    https://community.centminmod.com/posts/34492/
    update using centmin.sh menu option 23 submenu option 2

    or via command: cmupdate

    Always ensure Current Version is higher or equal to Latest Version
    ------------------------------------------------------------------------------
    Current acmetool.sh Version: 1.0.73
    Latest acmetool.sh Version: 1.0.74
    ------------------------------------------------------------------------------

    -----------------------------------------------------
    updating acme.sh client...
    -----------------------------------------------------
    Cloning into 'acme.sh'...
    [Fri Jun 18 01:22:35 UTC 2021] It is recommended to install socat first.
    [Fri Jun 18 01:22:35 UTC 2021] We use socat for standalone server if you use standalone mode.
    [Fri Jun 18 01:22:35 UTC 2021] If you don't use standalone mode, just ignore this warning.
    [Fri Jun 18 01:22:35 UTC 2021] Installing to /root/.acme.sh
    [Fri Jun 18 01:22:35 UTC 2021] Installed to /root/.acme.sh/acme.sh
    [Fri Jun 18 01:22:35 UTC 2021] Installing alias to '/root/.bashrc'
    [Fri Jun 18 01:22:35 UTC 2021] OK, Close and reopen your terminal to start using acme.sh
    [Fri Jun 18 01:22:35 UTC 2021] Installing alias to '/root/.cshrc'
    [Fri Jun 18 01:22:35 UTC 2021] Installing alias to '/root/.tcshrc'
    [Fri Jun 18 01:22:35 UTC 2021] Installing cron job
    52 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
    [Fri Jun 18 01:22:35 UTC 2021] Good, bash is found, so change the shebang to use bash as preferred.
    [Fri Jun 18 01:22:36 UTC 2021] OK
    https://github.com/acmesh-official/acme.sh
    v3.0.0

    -----------------------------------------------------
    set default acme.sh CA to letsencrypt:
    acme.sh --set-default-ca --server letsencrypt
    [Fri Jun 18 01:22:36 UTC 2021] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory
    -----------------------------------------------------
    check acme auto renew cronjob setup:
    -----------------------------------------------------
    52 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
    -----------------------------------------------------
    acme.sh updated
    -----------------------------------------------------

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.