armature-acme

Crates.ioarmature-acme
lib.rsarmature-acme
version0.1.1
created_at2025-12-26 20:41:37.363093+00
updated_at2025-12-28 23:42:49.238263+00
descriptionACME protocol support for automatic TLS certificates in Armature
homepagehttps://pegasusheavy.github.io/armature
repositoryhttps://github.com/pegasusheavy/armature
max_upload_size
id2006223
size110,923
Joseph R. Quinn (quinnjr)

documentation

README

armature-acme

ACME/Let's Encrypt certificate automation for the Armature framework.

Features

  • Auto Certificates - Automatic TLS certificate provisioning
  • Let's Encrypt - Built-in Let's Encrypt support
  • HTTP-01 Challenge - Domain validation
  • Auto Renewal - Automatic certificate renewal
  • Multiple Domains - SAN certificate support

Installation

[dependencies]
armature-acme = "0.1"

Quick Start

use armature_acme::AcmeConfig;

let app = Application::new()
    .with_acme(AcmeConfig {
        domains: vec!["example.com", "www.example.com"],
        email: "admin@example.com",
        staging: false, // Use production Let's Encrypt
    })
    .get("/", handler);

app.listen_tls("0.0.0.0:443").await?;

Staging Environment

// Use Let's Encrypt staging for testing
let config = AcmeConfig::staging(vec!["example.com"], "admin@example.com");

Certificate Storage

let config = AcmeConfig::new(domains, email)
    .certificate_path("/etc/ssl/certs")
    .key_path("/etc/ssl/private");

License

MIT OR Apache-2.0

Commit count: 0

cargo fmt