Join the community today
Become a Member

Master Branch acmetool.sh 1.0.64 prep Cloudflare API Token support in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 31, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:38 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    acmetool.sh 1.0.64 prep Cloudflare API Token support in 123.09beta01

    For addons/acmetool.sh letsencrypt ssl cert issuance via Cloudflare DNS API, add preliminary support for Cloudflare API Tokens instead of using Cloudflare Account Global API Key. So instead of setting in persistent config file at /etc/centminmod/custom_config.inc

    for CF Global API Key the variables

    CF_DNSAPI='y'
    CF_KEY='YOUR_CF_GLOBAL_API_KEY'
    CF_EMAIL='YOUR_CF_ACCOUNT_EMAIL'

    use instead CF created API Token variables

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

    where CF API Tokens require

    1. Create your Cloudflare Token API with permissions for read access to Zone.Zone, and edit/write access to Zone.DNS, across all Zones.
    2. Grab your Cloudflare Account ID from any of your Cloudflare domain's main dashboard's right side column listing

    Continue reading...

    Centmin Mod Github Master branch

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