Skip to content

Feature Request: Include ACME DNS modules (e.g. Cloudflare) in official Windows pre-built binaries #2731

Open

Description

@MisterDuval

Describe your feature request

Feature Description

Currently, using DNS-01 ACME challenges (such as github.com/caddy-dns/cloudflare for Let's Encrypt / ZeroSSL wildcard certificates or setups behind Cloudflare Proxy) with FrankenPHP requires building a custom binary with xcaddy.

While this is straightforward on Linux using multi-stage Docker builds, creating a custom build for Windows is significantly more complex due to CGO dependencies, MSVC/GCC cross-compilation environments, and PHP DLL linking requirements.

It would be extremely helpful to have official pre-built Windows binaries (frankenphp.exe) that natively include popular Caddy DNS provider modules (or at least github.com/caddy-dns/cloudflare).


Use Case

  • Windows Native Deployments / Development: Running FrankenPHP directly on Windows servers or local environments without forcing a Docker/WSL2 layer.
  • Wildcard TLS Certificates on Windows: Obtaining *.domain.com certificates requires the DNS-01 challenge, which is impossible natively on Windows without rebuilding Caddy/FrankenPHP.
  • Environments Behind Cloudflare Proxy / Internal Networks: Obtaining certificates when HTTP-01 challenges (port 80/443) are restricted or routed through Cloudflare.

Proposed Solution

  1. Option A (Default Binaries): Embed github.com/caddy-dns/cloudflare (and potentially other common providers like Route53, DigitalOcean, Hetzner) directly into the official GitHub Release assets for Windows.
  2. Option B (Separate Windows Asset): Provide a dedicated release binary asset (e.g., frankenphp-windows-x86_64-cloudflare.exe or frankenphp-windows-x86_64-with-dns.exe).

Additional Context

  • Cloudflare DNS module reference: https://caddyserver.com/docs/modules/dns.providers.cloudflare (github.com/caddy-dns/cloudflare)
  • Since cross-compiling or building custom CGO/Go binaries on Windows is a major pain point for developers compared to Linux, providing pre-built Windows executables with DNS support would greatly improve the DX on Windows.

Thank you for your work on FrankenPHP!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions