selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

certificates logo

Self-host certificates

v0.30.2

Private X.509 & SSH certificate authority and ACME server

ReleaseOpen CoreApache-2.0
docker run -it -v step:/home/step -p 9000:9000 -e "DOCKER_STEPCA_INIT_NAME=Smallstep" -e "DOCKER_STEPCA_INIT_DNS_NAMES=localhost,$(hostname -f)" -e "DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT=true" smallstep/step-ca
Updated7 months ago
LanguageGo
Setup difficultyModerate
Stars
9 052
Port
9000 (HTTPS API of the CA inside the container (health endpoint at /health))
Docker
smallstep/step-ca

What is certificates?

certificates alternatives

Should you self-host certificates?

certificates scores 72/100 on selfhost.directory (how scoring works) and ranks #1 of 2 in PKI. It has 9 052 GitHub stars, +127 in the last 30 days.

It shipped 3 stable releases in the past year. The latest, v0.30.2, came out on 23 March 2026. New versions land roughly every 2 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is signserver-ce (51/100, 441 stars). certificates scores higher overall. See certificates vs signserver-ce side by side.

Features

  • Built-in ACME server
  • Certificate templates
  • CLI management via step
  • CRL generationDocumented as experimental; active revocation with CRL and OCSP is a commercial-product item.
  • Hardware and cloud key protection
  • Issuance policies
  • Multiple enrollment authorization methods
  • Online intermediate CA
  • Pluggable database backends
  • Registration Authority mode
  • Remote provisioner management
  • Short-lived Certificates
  • SSH Certificate Authority
  • Web admin UINot in the open-source CA; listed under the commercial CA comparison.
  • X.509 / TLS certificate issuance

certificates README

step-ca

GitHub release Go Report Card Build Status License CLA assistant

step-ca is an online certificate authority for secure, automated certificate management for DevOps. It's the server counterpart to the step CLI tool for working with certificates and keys. Both projects are maintained by Smallstep Labs.

You can use step-ca to:

  • Issue HTTPS server and client certificates that work in browsers (RFC5280 and CA/Browser Forum compliance)
  • Issue TLS certificates for DevOps: VMs, containers, APIs, database connections, Kubernetes pods...
  • Issue SSH certificates:
    • For people, in exchange for single sign-on identity tokens
    • For hosts, in exchange for cloud instance identity documents
  • Easily automate certificate management:

How to install certificates

Install certificates with Docker

Environment variables
DOCKER_STEPCA_INIT_NAME, DOCKER_STEPCA_INIT_DNS_NAMES, DOCKER_STEPCA_INIT_ADDRESS, DOCKER_STEPCA_INIT_SSH, DOCKER_STEPCA_INIT_ACME, DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT
docker run -it -v step:/home/step \
    -p 9000:9000 \
    -e "DOCKER_STEPCA_INIT_NAME=Smallstep" \
    -e "DOCKER_STEPCA_INIT_DNS_NAMES=localhost,$(hostname -f)" \
    -e "DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT=true" \
    smallstep/step-ca

Alpine-based default image plus an hsm-tagged image compiled with CGO for PKCS#11/YubiKey support.

How to configure certificates

  • rootca.json option: location of the root certificate PEM file(s), used to mutually authenticate all API clients of the CA
  • crtca.json option: location of the intermediate certificate returned alongside each new certificate
  • keyca.json option: intermediate private key that signs all new certificates
  • addressca.json option: address and port on which the CA binds and responds to requests

    values: e.g. 127.0.0.1:8080, :9000

  • dnsNamesca.json option: comma separated list of DNS names for the CA

certificates releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…