Skip to main content

certpost

Let's Encrypt certificate manager with DNS-01 challenges, web admin panel, and TLS termination proxy. Written in Go — single static binary, no dependencies. Supports Cloudflare and Technitium DNS Server.

Features

  • Automatic certificate issuance — Let's Encrypt via ACME v2, DNS-01 challenges
  • Multiple DNS providers — Cloudflare and Technitium DNS Server, with split provider support (e.g. Cloudflare for ACME, Technitium for records)
  • Web admin panel — manage domains, view status, download certs, view logs (protected by admin key login)
  • DNS management — automatically creates and manages A/CNAME records for your subdomains
  • Background renewal — proactively renews the 2 oldest certs daily, with a 30-day expiry safety net
  • Per-domain API tokens — each domain gets its own bearer token for certificate retrieval
  • TLS termination proxy — built-in proxy with SNI routing and automatic cert refresh
  • Certificate fetching — download .crt and .key files via CLI or admin panel
  • Interactive setup — certpost-server setup and certpost init wizards for easy configuration
  • Single static binary — no runtime dependencies, no openssl required
  • Modular DNS — protocol-based design makes it easy to add new providers

Requirements

  • Go 1.27.3+ (for building)
  • A supported DNS provider: Cloudflare (API token + zone ID) or Technitium DNS Server (server URL + API token)

Building

make build

Cross-compiles for all platforms and builds wheels. See make help for all targets.

Server

Initial setup

certpost-server setup -d /path/to/data

This walks you through creating a config.json with your DNS provider settings, base domain, and port. An admin key is generated automatically.

Starting the server

certpost-server run -d /path/to/data

The admin panel is available at http://localhost:8443. Log in with the admin key (printed on startup). From the panel you can:

  • Add subdomains — enter an IP address or CNAME target, creates the DNS record via the configured provider, and issues a Let's Encrypt certificate
  • View certificate status and expiry dates
  • Copy or rotate per-domain API tokens
  • Download certificate files
  • View server logs

Configuration

The config.json in your data directory. Use a single dns key when one provider handles everything:

{
  "base_domain": "example.com",
  "admin_key": "auto-generated-admin-key",
  "bind": "0.0.0.0",
  "port": 8443,
  "dns": {
    "provider": "cloudflare",
    "api_token": "your-cloudflare-api-token",
    "zone_id": "your-zone-id"
  }
}

For split configurations, use dns_acme and dns_records:

{
  "base_domain": "example.com",
  "admin_key": "auto-generated-admin-key",
  "bind": "0.0.0.0",
  "port": 8443,
  "dns_acme": {
    "provider": "cloudflare",
    "api_token": "your-cloudflare-api-token",
    "zone_id": "your-zone-id"
  },
  "dns_records": {
    "provider": "technitium",
    "server_url": "https://dns.example.com",
    "api_token": "your-technitium-api-token",
    "zone": "example.com"
  }
}

Client

Fetch certificates

certpost fetch -s http://certpost:8443 -t <token> -d app.example.com -o /etc/ssl/certs

With automatic refresh every 24 hours:

certpost fetch -s http://certpost:8443 -t <token> -d app.example.com --refresh 24

TLS termination proxy

certpost proxy -c proxy.json

Generate a config interactively

certpost init

Security

  • Admin panel is protected by an admin key with cookie-based auth
  • Certificate API uses per-domain bearer tokens (not shared)
  • Private keys are stored in JSON files — protect the data directory with filesystem permissions
  • TLS proxy loads certs directly into memory via tls.X509KeyPair — no temp files

Licence

Released under the Unlicense — public domain.

Metadata

Release files for certpost 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for certpost 1.2.0
File Actions
certpost-1.2.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for certpost-1.2.0-py3-none-win_arm64.whl
certpost-1.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for certpost-1.2.0-py3-none-win_amd64.whl
certpost-1.2.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for certpost-1.2.0-py3-none-manylinux_2_17_x86_64.whl
certpost-1.2.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for certpost-1.2.0-py3-none-manylinux_2_17_aarch64.whl
certpost-1.2.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for certpost-1.2.0-py3-none-macosx_11_0_arm64.whl
certpost-1.2.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details for certpost-1.2.0-py3-none-macosx_10_9_x86_64.whl

Total release size: 36.0 MB

Release files / certpost-1.2.0-py3-none-win_arm64.whl

Download URL certpost-1.2.0-py3-none-win_arm64.whl
Size 5.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
598b23cea7e8e232084095c5c2085ac09d988a25928bf5f180e44c595ee16b14
BLAKE2b-256 checksum
How to use checksums
26336a94e5a7a2c0381b231a9367988243c79b7dceaf88c45d77381d2dfac705
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / certpost-1.2.0-py3-none-win_amd64.whl

Download URL certpost-1.2.0-py3-none-win_amd64.whl
Size 6.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b870b48c9084ea8c0b15b9f221062897f112e69e2a6bafd4946ee082d574758e
BLAKE2b-256 checksum
How to use checksums
9dea5455d4515aa8b5b02c5dba93b3fe232b08385a3a62bbfb69b5da141bd62f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / certpost-1.2.0-py3-none-manylinux_2_17_x86_64.whl

Download URL certpost-1.2.0-py3-none-manylinux_2_17_x86_64.whl
Size 6.2 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
dccd0d173ac04ca6fc353f147b6864f81291d3aa522dc12e6ffc4c665aa38be6
BLAKE2b-256 checksum
How to use checksums
b989e7a0e2db41dbfd100a32c1c08e6a91d76a14b34d830ecf463cf69cef6cea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / certpost-1.2.0-py3-none-manylinux_2_17_aarch64.whl

Download URL certpost-1.2.0-py3-none-manylinux_2_17_aarch64.whl
Size 5.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5de51b77466b576343f58a6da47065e530cbe4135d506fb5ae521dabcf76c018
BLAKE2b-256 checksum
How to use checksums
efd311d5f8cde0fd67d5446d65a2d3337dfcf39198a5cf2600fe369eba3bcaae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / certpost-1.2.0-py3-none-macosx_11_0_arm64.whl

Download URL certpost-1.2.0-py3-none-macosx_11_0_arm64.whl
Size 5.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f45584004ed4b5a193a8a1468012cc8fdbde888df024da10aad5cd4c885a0f93
BLAKE2b-256 checksum
How to use checksums
4da0870775495e7ab0455cfd9a321dd186e73e90359f5d08fa1b67bd254e7259
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / certpost-1.2.0-py3-none-macosx_10_9_x86_64.whl

Download URL certpost-1.2.0-py3-none-macosx_10_9_x86_64.whl
Size 6.3 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
cced252e3cd5f0bc53acc2d3b58cf8926f356ae0e72bf55b28c3d2cdfc2e1058
BLAKE2b-256 checksum
How to use checksums
5bcb016c9387c16a503f13614cc12a87e64459222ad43c16f92664cf528b2ec0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for certpost 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page