🛡️ A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH.
Find a file
Mariano Cano 5d87201abc
Ignore principals validations with OIDC
This commit will ignore principals validation when an OIDC provisioner
is used. When the principals in the server does not match the principals
given the validation was failing, even if the proper principals were set
by templates or webhooks. With this change OIDC will not validate the
principals and just set the default ones (name, name@example.org) plus
the ones in the templates.

This commit also includes a change in the templates to allow to pass
a provisioner to the $(step path)/ssh/config template

Related to #807
2022-12-14 17:51:50 -08:00
.github [action] cosign over docker image digest 2022-10-27 22:50:04 -07:00
acme Remove charset=utf-8 from ACME certificate requests 2022-11-09 19:57:50 +01:00
api Refactor tests stylistically 2022-11-18 10:26:03 +01:00
authority Ignore principals validations with OIDC 2022-12-14 17:51:50 -08:00
autocert Use REAMDE.md suggested in code review. 2019-06-18 17:11:29 -07:00
ca Return an appropriate error when requests fail 2022-11-10 14:49:16 -08:00
cas Correct bad comment on NotImplementedError.Error() 2022-11-07 15:37:39 -08:00
cmd Support to ask for key password after crypto change 2022-09-27 12:03:51 -07:00
commands Create context for automatic RAs 2022-11-09 12:06:45 -08:00
db Add support for renew when using stepcas 2022-11-04 16:42:07 -07:00
debian [action] debian rules syntax 2021-04-13 16:53:30 -07:00
docker Add env vars for enabling Remote Management and ACME provisioner. 2022-12-07 22:00:39 -07:00
errs Fix err assert linter warnings - upgrade outdated package 2022-10-12 16:32:26 -07:00
examples Added some example ansible configs (#813) 2022-02-02 18:54:55 +01:00
logging Fix linter warning 2022-08-11 17:47:58 -07:00
monitoring Upgrade newrelic to v3 2022-08-04 11:16:11 -07:00
pki Add provisioner and super admin subject output to ca init 2022-10-25 11:48:17 +02:00
policy Render proper policy and constrains errors 2022-09-21 18:35:18 -07:00
scep Provisioner webhooks (#1001) 2022-09-29 19:16:26 -05:00
scripts We now have an armv5 step-ca build; remove guard clause from RA install script 2022-04-20 09:48:06 -07:00
server Address gosec warnings 2022-08-18 17:46:20 -07:00
systemd Fixes #757 2021-11-23 18:12:31 -08:00
templates Ignore principals validations with OIDC 2022-12-14 17:51:50 -08:00
webhook Provisioner webhooks (#1001) 2022-09-29 19:16:26 -05: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 Add go workspaces files to gitignore 2022-09-08 17:24:51 -07:00
.gitleaksignore [actiono] Update workflows 2022-09-23 23:21:44 -07:00
.goreleaser.yml [action] Add COSIGN_EXPERIMENTAL env var to cosign release docs 2022-11-01 18:50:12 -07:00
.VERSION Added version operability for git archive tarball (non git repo) 2019-02-21 14:51:03 -08:00
.version.sh Use sh instead of bash in .version.sh script 2022-10-19 16:28:31 -07:00
CHANGELOG.md Update changelog 2022-11-30 11:27:29 -08:00
CONTRIBUTING.md Remove deprecated docs directory 2022-11-07 20:18:42 -08:00
cosign.pub [action] use cosign to sign over goreleaser artifacts 2021-08-30 16:53:47 -07:00
go.mod Merge pull request #1203 from smallstep/dependabot/go_modules/google.golang.org/api-0.104.0 2022-12-14 09:38:21 -08:00
go.sum Merge pull request #1203 from smallstep/dependabot/go_modules/google.golang.org/api-0.104.0 2022-12-14 09:38:21 -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 [action] cosign over docker image digest 2022-10-27 22:50:04 -07:00
README.md Update build status svg and link to github actions 2022-09-14 13:53:30 -04:00
SECURITY.md Create SECURITY.md 2022-07-29 15:17:05 -07: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?