NOTIFYING webhooks are only called for SCEP, and never on renewal

Open
#2,821 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@dcdamien is already working on this.

Since Oct 12, 2026.

  • #2822 by @dcdamien — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
50/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
backend, security

Research direction

Start by tracing where the SCEP provisioner calls NOTIFYING webhooks and how certificate signing, renewal, and rekeying are handled for other provisioners. Compare the notification body and failure handling with the SCEP path. Done means NOTIFYING webhooks fire after X.509 certificates are signed or renewed, include the specified certificate, CSR, and provisioner data, and notification failures are logged without failing requests.

Written by the indexing model from the issue text.

Description

enhancement needs triage

Issue details

NOTIFYING webhooks (#1544) are only called by the SCEP provisioner. On any
other provisioner the admin API accepts a NOTIFYING webhook, but it never
fires. No webhook is called when an X.509 certificate is renewed or rekeyed.

Proposal: call NOTIFYING webhooks after every X.509 certificate is signed or
renewed, with the same body as SCEP (signed certificate DER, CSR if any,
provisioner name). A failed notification is logged and does not fail the
request. SCEP keeps its own notifications.

Why is this needed?

step-ca has no API to list issued certificates. NOTIFYING webhooks are the
natural way to keep an external inventory, e.g. to revoke the certificates
of disabled accounts. Today this works only for SCEP and never covers
renewals, which get a new serial number.

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.