Feature request: Define per provisioner intermediate certificate and key

Open
#2,262 5 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@hslatman is already working on this.

Since May 12, 2025.

Assessment

This issue has not been assessed yet.

Description

Currently we can use a single cert and key for intermediate certificate and that is defined in the root section of the config.

{
  "root": "examples/pki/secrets/root_ca.crt",
  "federatedRoots": ["examples/pki/secrets/federated_root_ca.crt"],
  "crt": "examples/pki/secrets/intermediate_ca.crt",
  "key": "examples/pki/secrets/intermediate_ca_key",
  ....
  "authority": {
    "provisioners": [
      {
        "type": "ACME",
        "name": "my-acme-provisioner"
      }
    ]
  ....
  }
}

What we want to achieve is per provisioner different intermediate cert and key like below. Is it possible?

"authority": {
    "provisioners": [
      {
        "type": "ACME",
        "name": "my-acme-provisioner-1",
        "crt": "examples/pki/secrets/intermediate_ca-1.crt",
        "key": "examples/pki/secrets/intermediate_ca_key-1"
      },
       {
        "type": "ACME",
        "name": "my-acme-provisioner-2",
        "crt": "examples/pki/secrets/intermediate_ca-2.crt",
        "key": "examples/pki/secrets/intermediate_ca_key-2"
      },
    ]
Dominant language
Go
Stars
8.9k
Forks
599
Avg merge
21h 20m
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from smallstep/certificates

All issues in smallstep/certificates

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.