WIN-ACME

A simple ACMEv2 client for Windows (for use with Let's Encrypt et al.)

Cloudflare

Create the record in Cloudflare DNS.

Seperate download

This plugin is offered as a separate download, which can be downloaded from the releases page on GitHub has to be unpacked into the main program folder to able to use. Note that after unpacking you will have to unblock them for the .NET CRL to trust them. You can do that from the Windows File Explorer by using the right mouse button and then checking the Unblock box on the General tab.

image

Requires pluggable version

This plugin requires to you use the pluggable version of the main executable.

Setup

This assumes you already have your DNS managed in Cloudflare; if not, you’ll need to set that up first. If you are using the Cloudflare DNS option for validation, you’ll need to obtain a Cloudflare API Token (not Key) that is allowed to read and write the DNS records of the zone your domain belongs to.

Create an appropriate API Token

  1. Navigate here: https://dash.cloudflare.com/profile/api-tokens
  2. Click Create Token
  3. Choose a name
  4. Under Permissions, select “Zone”, “DNS”, “Edit”; Click Add More, select “Zone”, “Zone”, “Read”
  5. Under Zone Resources, select “Include”, “All zones” (or “All zones from an account” and select the relevant account).
    • Note that restricting access to the single target zone does not work, as we can not get the zone’s id by its domain name then. You might be able to exclude other zones specifically. If this is a show stopper for you please open an issue to discuss how to proceed.
  6. Finish creating the token, store it in a safe place or, better, paste it directly into win-acme.

Unattended

--validationmode dns-01 --validation cloudflare --cloudflareapitoken ***