Effortless HTTPS for your ASP.NET Core applications.
Project details
AutoHttps simplifies the process of obtaining and renewing TLS certificates for ASP.NET Core applications using Let's Encrypt or any ACME certificate authority. With minimal setup, this powerful library enables seamless TLS management, ensuring your app remains secure without external dependencies.
AutoHttps is a robust library designed to simplify the management of TLS certificates within ASP.NET Core applications. It securely obtains and renews certificates from Let's Encrypt or any compliant ACME certificate authority, all without the need for external dependencies.
builder.Services.AddAutoHttps(options =>
{
options.DomainNames.Add("example.com");
options.EmailAddress = "admin@example.com";
options.AcceptTermsOfService = true;
});
AutoHttps stays up-to-date with the evolving landscape of certificate management, adhering to the latest standards:
| Feature | Description |
|---|---|
| Challenge Types | Supports http-01 and dns-01 challenges for certificate issuance and renewals. |
| Wildcard Certificates | Obtain wildcard certificates via DNS challenges. |
| Multiple Authorities | Compatibility with various ACME directories including Let's Encrypt, ZeroSSL, Google Trust Services, and more. |
| Automatic Renewals | Automated renewal handling based on current standards and guidelines. |
| Observability | Built-in health checks, metrics, and notification callbacks for changes or failures. |
| No External Dependencies | Operates solely within the ASP.NET Core environment without additional packages. |
The AutoHttps library provides various optional configurations to meet different application needs:
builder.Services.AddAutoHttps(options =>
{
options.DomainNames.Add("example.com");
options.EmailAddress = "admin@example.com";
options.AcceptTermsOfService = true;
options.StorageDirectory = "/var/lib/myapp/certs";
// Additional configurations as needed
});
The library can also be configured via standard application settings in JSON format, streamlining integration with existing configuration management.
To ensure reliable certificate issuance and renewal, AutoHttps offers:
AutoHttps provides a comprehensive solution for managing TLS certificates in ASP.NET Core applications efficiently, allowing developers to focus on building functionalities rather than handling certificate logistics. Its adherence to modern standards and ease of configuration ensures a secure and reliable deployment setup.
Comments
0Start the conversation
Share the first comment.