Welcome to Centmin Mod Community
Become a Member

Master Branch update addons/acmetool.sh with full Cloudflare DNS API in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 16, 2020 at 8:42 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    45,155
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    11:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update addons/acmetool.sh with full Cloudflare DNS API in 123.09beta01

    Instead of default webroot authentication, update addons/acmetool.sh with full Cloudflare DNS API domain validation for Letsencrypt SSL certificate issuance that can be optionally enabled variables for Cloudflare API Token is set in persistent config file at /etc/centminmod/custom_config.inc. Existing users need to run cmupdate command to get updated addons/acmetool.sh.

    CF_DNSAPI_GLOBAL='y'
    CF_Token="YOUR_CF_TOKEN"
    CF_Account_ID="YOUR_CF_ACCOUNT_ID"

    Cloudflare API Tokens, requires you create your Cloudflare Token API with permissions for read access to Zone.Zone, and edit/write access to Zone.DNS, across all Zones and to grab your Cloudflare Account ID from any of your Cloudflare domain's main dashboard's right side column listing.

    Only one Cloudflare Account is supported, so intended domains need to be within same Cloudflare Account unless you have Cloudflare Account with invited admin access to other Cloudflare Accounts and you can generate the CF API Token to include access to the other Cloudflare Accounts.

    Continue reading...

    Centmin Mod Github Master branch

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