🛡️ A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH.
Go to file
Herman Slatman 9617edf0c2
Improve internationalized domain name handling
This PR improves internationalized domain name handling according
to rules of IDNA and based on the description in RFC 5280, section 7:
https://datatracker.ietf.org/doc/html/rfc5280#section-7.

Support for internationalized URI(s), so-called IRIs, still needs to
be done.
2022-01-27 17:18:33 +01:00
.github [action] only run codecov for go 1.17 2021-11-17 11:51:33 -08:00
acme Clean up, improve test cases and coverage 2022-01-18 14:39:21 +01:00
api Change fallback message on RekeySSH. 2021-12-03 15:12:00 -08:00
authority Improve internationalized domain name handling 2022-01-27 17:18:33 +01:00
autocert Use REAMDE.md suggested in code review. 2019-06-18 17:11:29 -07:00
ca Fix linting issue 2021-12-22 11:58:00 +01:00
cas Pin golangci-lint to v1.43.0 and fix issues 2021-11-13 01:30:03 +01:00
cmd Merge pull request #741 from gdbelvin/ssh 2021-11-17 16:07:23 -08:00
commands Pin golangci-lint to v1.43.0 and fix issues 2021-11-13 01:30:03 +01:00
db Add test case for ACME Revoke to Authority 2021-12-02 17:11:36 +01:00
debian [action] debian rules syntax 2021-04-13 16:53:30 -07:00
docker Make the default provisioner name optional; change DNS names variable name 2021-08-18 13:37:58 -07:00
docs Update star gif size 2021-12-07 10:17:48 -08:00
errs Modify errs.ForbiddenErr to always return an error to the cli. 2021-11-23 11:52:55 -08:00
examples Use smallstep/small-cli as base image, remove step cli build 2021-11-24 04:44:28 +00:00
kms Fix typo. 2021-12-17 10:55:23 -08:00
logging Log successful /health requests at Trace lvl 2021-03-09 14:52:13 +00:00
make [action] sign and push sigs for multi-arch docker containers w/ cosign 2021-09-01 12:43:59 -07:00
monitoring ca-component -> certificates 2018-10-31 21:36:01 -07:00
pki Merge branch 'master' into max/context 2021-11-17 11:40:01 -08:00
policy Improve internationalized domain name handling 2022-01-27 17:18:33 +01:00
scep Pin golangci-lint to v1.43.0 and fix issues 2021-11-13 01:30:03 +01:00
scripts install-step-ra.sh: Properly quote the RA DNS names in ca.json 2021-10-19 16:14:41 -07:00
server Use Golang's default keep-alive. 2021-10-15 14:12:43 -07:00
systemd Fixes #757 2021-11-23 18:12:31 -08:00
templates update commented template names to match reality 2021-11-17 21:42:53 -08:00
.dockerignore Remove dockerignore files that are in the repo. 2021-04-13 18:24:02 -07:00
.gitattributes Added version operability for git archive tarball (non git repo) 2019-02-21 14:51:03 -08:00
.gitignore [action] Add .releases to .gitignore 2021-09-07 13:07:25 -07:00
.golangci.yml Add initial implementation of x509 and SSH allow/deny policy engine 2022-01-03 12:25:24 +01:00
.goreleaser.yml [action] replace goreleaser complicated build targets with 'targets' 2021-10-20 14:10:40 -07:00
.VERSION Added version operability for git archive tarball (non git repo) 2019-02-21 14:51:03 -08:00
.version.sh Added version operability for git archive tarball (non git repo) 2019-02-21 14:51:03 -08:00
CHANGELOG.md Add changelog entry for ACME revocation 2021-12-09 09:42:38 +01:00
cosign.pub [action] use cosign to sign over goreleaser artifacts 2021-08-30 16:53:47 -07:00
go.mod Upgrade go.step.sm/crypto 2022-01-06 12:50:26 -08:00
go.sum Upgrade go.step.sm/crypto 2022-01-06 12:50:26 -08:00
icon.png Commit icons. 2019-06-12 16:22:39 -07:00
icon.svg Commit icons. 2019-06-12 16:22:39 -07:00
LICENSE Add full version of the license. 2020-05-26 12:21:09 -07:00
Makefile Fix a few more linter warnings and remove GOFLAGS from make lint 2021-10-08 15:26:01 -04:00
README.md Star gif 2021-12-07 10:02:44 -08:00

Step Certificates

step-ca is an online certificate authority for secure, automated certificate management. It's the server counterpart to the step CLI tool.

You can use it to:

  • Issue X.509 certificates for your internal infrastructure:
    • HTTPS certificates that work in browsers (RFC5280 and CA/Browser Forum compliance)
    • TLS certificates for VMs, containers, APIs, mobile clients, database connections, printers, wifi networks, toaster ovens...
    • Client certificates to enable mutual TLS (mTLS) in your infra. mTLS is an optional feature in TLS where both client and server authenticate each other. Why add the complexity of a VPN when you can safely use mTLS over the public internet?
  • Issue SSH certificates:
    • For people, in exchange for single sign-on ID tokens
    • For hosts, in exchange for cloud instance identity documents
  • Easily automate certificate management:

Whatever your use case, step-ca is easy to use and hard to misuse, thanks to safe, sane defaults.


Don't want to run your own CA? To get up and running quickly, or as an alternative to running your own step-ca server, consider creating a free hosted smallstep Certificate Manager authority.


Questions? Find us in Discussions or Join our Discord.

Website | Documentation | Installation | Getting Started | Contributor's Guide

GitHub release Go Report Card Build Status License CLA assistant

GitHub stars Twitter followers

star us

Features

🦾 A fast, stable, flexible private CA

Setting up a public key infrastructure (PKI) is out of reach for many small teams. step-ca makes it easier.

⚙️ Many ways to automate

There are several ways to authorize a request with the CA and establish a chain of trust that suits your flow.

You can issue certificates in exchange for:

🏔 Your own private ACME server

ACME is the protocol used by Let's Encrypt to automate the issuance of HTTPS certificates. It's super easy to issue certificates to any ACMEv2 (RFC8555) client.

👩🏽‍💻 An online SSH Certificate Authority

  • Delegate SSH authentication to step-ca by using SSH certificates instead of public keys and authorized_keys files
  • For user certificates, connect SSH to your single sign-on provider, to improve security with short-lived certificates and MFA (or other security policies) via any OAuth OIDC provider.
  • For host certificates, improve security, eliminate TOFU warnings, and set up automated host certificate renewal.

🤓 A general purpose PKI tool, via step CLI integration

Installation

See our installation docs here.

Documentation

Documentation can be found in a handful of different places:

  1. On the web at https://smallstep.com/docs/step-ca.

  2. On the command line with step help ca xxx where xxx is the subcommand you are interested in. Ex: step help ca provisioner list.

  3. In your browser, by running step help --http=:8080 ca from the command line and visiting http://localhost:8080.

  4. The docs folder is being deprecated, but it still has some documentation and tutorials.

Feedback?