AutoHttps.Cloudflare
1.0.0
dotnet add package AutoHttps.Cloudflare --version 1.0.0
NuGet\Install-Package AutoHttps.Cloudflare -Version 1.0.0
<PackageReference Include="AutoHttps.Cloudflare" Version="1.0.0" />
<PackageVersion Include="AutoHttps.Cloudflare" Version="1.0.0" />
<PackageReference Include="AutoHttps.Cloudflare" />
paket add AutoHttps.Cloudflare --version 1.0.0
#r "nuget: AutoHttps.Cloudflare, 1.0.0"
#:package AutoHttps.Cloudflare@1.0.0
#addin nuget:?package=AutoHttps.Cloudflare&version=1.0.0
#tool nuget:?package=AutoHttps.Cloudflare&version=1.0.0
AutoHttps.Cloudflare
Cloudflare DNS provider for AutoHttps. It answers
dns-01 challenges, including wildcards, by publishing TXT records through the Cloudflare API.
dotnet add package AutoHttps.Cloudflare
Use
Create a scoped Cloudflare API token with the Zone.DNS Edit permission for the zones you validate, then:
builder.Services.AddAutoHttps(options =>
{
options.DomainNames.Add("*.example.com");
options.DomainNames.Add("example.com");
options.EmailAddress = "admin@example.com";
options.AcceptTermsOfService = true;
options.PreferredChallengeType = "dns-01";
})
.UseCloudflareDns(builder.Configuration["Cloudflare:ApiToken"]!);
The provider finds the zone from the record name, so a token that can list zones needs no further configuration. If the token is scoped to a single zone and cannot list, set the zone id:
.UseCloudflareDns(options =>
{
options.ApiToken = builder.Configuration["Cloudflare:ApiToken"]!;
options.ZoneId = "your-zone-id";
});
Options
| Option | Default | What it does |
|---|---|---|
ApiToken |
(required) | Cloudflare API token with Zone.DNS Edit. |
ZoneId |
(discovered) | The zone to publish in. Leave unset to find it from the record name. |
RecordTtlSeconds |
60 | TTL for the challenge records. |
Pair this with DnsPropagationResolver on the AutoHttps options to have the challenge wait until the
record is visible before validation. See the main README.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 52 | 9/8/2026 |