A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management
open coreApache-2.0self-hostablefree
step-ca is Smallstep's open source online certificate authority: you run it to issue and renew X.509 TLS certificates and SSH certificates for your own servers, services, containers and people, as the server counterpart to the step CLI. It's a private ACME server that any ACMEv2 client (Caddy, Traefik, certbot, acme.sh) can use with the http-01, dns-01 and tls-alpn-01 challenges, and it also issues certificates in exchange for OIDC single sign-on tokens (Okta, Azure AD, Keycloak), cloud instance identity documents, one-time JWK tokens or SCEP challenges. It favours a two-tier PKI with an offline root and short-lived certificates with passive revocation, stored in Badger, BoltDB, PostgreSQL or MySQL. Smallstep Labs sells Step CA Pro, a commercial drop-in replacement that adds OCSP, high availability, HSM-backed keys, audit logging and FIPS binaries.
Ways to install
On your own server
On Kubernetes
Problems it solves
- run my own private certificate authority for internal services instead of self-signed certificates
- a private Let's Encrypt for my internal network so services renew their own TLS certificates over ACME
- issue short-lived TLS certificates to VMs, containers and Kubernetes pods automatically
- set up mutual TLS between our microservices without paying for a commercial PKI
- replace SSH authorized_keys files with SSH certificates tied to our single sign-on
- stop the SSH 'unknown host' trust-on-first-use warnings across our fleet with host certificates
- get HTTPS certificates for my homelab services from my own CA that my browsers trust
- hand out certificates to cloud instances based on their AWS, GCP or Azure identity documents
- let Caddy or Traefik get certificates from an internal ACME server instead of the public internet
- issue client certificates to people after they log in with Okta or Google
- an intermediate CA under our existing root that automates enrollment and renewal
- a simpler alternative to running OpenSSL scripts to sign certificates by hand
- certificates for internal database connections that renew themselves before they expire
- enroll devices for certificate-based Wi-Fi with a SCEP server we host
- our private PKI needs OCSP, HSM-backed keys and FIPS binaries with a vendor SLA
- move off Microsoft AD CS to an automated, ACME-based private CA
Features
- online certificate authority for X.509 and SSH certificates
- ACMEv2 (RFC 8555) server with http-01, dns-01 and tls-alpn-01 challenges, tested with certbot, acme.sh, win-acme, Caddy, Traefik, Apache and nginx
- provisioners: ACME, OIDC tokens, cloud instance identity documents (AWS, GCP, Azure), JWK tokens, X5C, Nebula, SCEP and SSHPOP
- SSH user certificates in exchange for single sign-on ID tokens; SSH host certificates for cloud instances
- short-lived certificates with automated enrollment, renewal and passive revocation
- RSA, ECDSA and EdDSA keys with configurable lifetimes
- can run as an online intermediate CA for an existing root CA
- Badger, BoltDB, PostgreSQL and MySQL database backends
- certificate templates and issuance policies
- webhooks that enrich certificate templates or allow or deny issuance
View 4 more
- step CLI for requesting, renewing, revoking, inspecting and linting certificates and installing root certificates
- Go client wrapper
- packages for Debian, Ubuntu, RHEL and Fedora; Homebrew, winget and Scoop; Docker image and a Helm chart
- Step CA Pro: HSM-backed CA keys, online OCSP, high-availability clustering, audit logging, registration authority mode and FIPS binaries
Ways to run it
step-ca (open source)
Not included
- multiple issuing CAs: step-ca issues X.509 certificates from a single configured intermediate CA45
- online revocation through OCSP: step-ca has very limited active revocation and relies on short-lived certificates45
- high-availability clustering45
- a web admin UI with issuance history and metrics45
- ACME External Account Binding (EAB)45
- FIPS-compliant binaries45
- device identity and ACME device attestation with Secure Enclave and TPM 2.045
- commercial support with SLAs4
You arrange
- a server or container to run the CA
- an offline root CA key kept safe
- a database (Badger by default, or PostgreSQL or MySQL)
- distributing the root certificate to clients
- backups and upgrades
Step CA Pro
Only in this edition
- HSM-backed CA keys
- online OCSP revocation
- high-availability clustering
- SQL-backed durability
- enterprise audit logging and metrics
- registration authority mode for delegated issuance
- FIPS binaries
- ACME device attestation
- enterprise support with SLAs during Pacific business hours
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has official SDKs | plan not known |
| Has single sign-on | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what step-ca does.
- HashiCorp Vault Secrets management, encryption as a service and privileged access management
- Keyfactor Trust Infrastructure for AI & Machines
- OpenBao Open source, community-driven secrets manager and fork of Vault
- mkcert A simple zero-config tool to make locally trusted development certificates with any names you'd like.
- Infisical Open-source platform for secrets, certificates and privileged access
- Smallstep Device Identity Platform Secure access for humans, devices, workloads, AI agents, and MCP-based toolchains
