AutoHttps.Redis
1.0.0
dotnet add package AutoHttps.Redis --version 1.0.0
NuGet\Install-Package AutoHttps.Redis -Version 1.0.0
<PackageReference Include="AutoHttps.Redis" Version="1.0.0" />
<PackageVersion Include="AutoHttps.Redis" Version="1.0.0" />
<PackageReference Include="AutoHttps.Redis" />
paket add AutoHttps.Redis --version 1.0.0
#r "nuget: AutoHttps.Redis, 1.0.0"
#:package AutoHttps.Redis@1.0.0
#addin nuget:?package=AutoHttps.Redis&version=1.0.0
#tool nuget:?package=AutoHttps.Redis&version=1.0.0
AutoHttps.Redis
Redis certificate and account key stores for AutoHttps. Several instances share their certificates and their ACME registration through Redis rather than a shared filesystem.
dotnet add package AutoHttps.Redis
Use
builder.Services.AddAutoHttps(options =>
{
options.DomainNames.Add("example.com");
options.EmailAddress = "admin@example.com";
options.AcceptTermsOfService = true;
})
.UseRedis(builder.Configuration.GetConnectionString("Redis")!);
This replaces both the certificate store and the account key store. Certificates are written as a
hash under autohttps:cert:<name> and the account key under autohttps:account:<name>. Change the
prefix if you share the Redis with other things:
.UseRedis("localhost:6379", options => options.KeyPrefix = "myapp:autohttps:");
If your application already registers an IConnectionMultiplexer, that one is used and the connection
string here is ignored.
Coordinating instances
Redis holds the certificates, but instances still need a lock so only one orders at a time. Supply one
with UseDistributedLock<T>() on the AutoHttps builder. See "Running several instances" in the main
README.
Options
| Option | Default | What it does |
|---|---|---|
Configuration |
(from the argument) | StackExchange.Redis connection string. |
KeyPrefix |
autohttps: |
Prefix for every key written. |
| 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. |
-
net10.0
- AutoHttps (>= 1.3.0)
- StackExchange.Redis (>= 2.8.16)
-
net8.0
- AutoHttps (>= 1.3.0)
- StackExchange.Redis (>= 2.8.16)
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 | 48 | 9/8/2026 |