Hi Mike,
The CA/CLM is not required to place any information from the JWT claim into
the CN/DN/SANs. The result of the ACME challenge is that the ACME server
has cryptographically verified the identity of the caller, and through
internal policy granted them the ability to obtain a certificate they have
requested. This works very similar in practice to how you use external
account binding (EAB) to obtain an OV or EV certificate, the big advantage
of the WIF-01 challenge is that there is no credentials (shared secret,
bootstrap credentials) required. The identity of the caller can be
cryptographically verified through the challenge.

In this demo I am not using Let's Encrypt. I am using a private
narrow-scoped CA. This is to demonstrate how the CA/CLM can
cryptographically verify the identity of the caller without credentials,
then issue a certificate based on policy, which can then be used by the
caller. In this instance it is GitHub because it's easy to make all of the
information publicly accessible, but this could just as easily be an
internal automation platform that wants a short-lived X.509 certificate for
SSH authentication, or a short-lived mutual-TLS clientauth certificate.
This type of functionality is already present in privileged access
management and secrets management tooling, but each product/vendor has it's
own bespoke implementation. My goal is to standardise X.509 certificate
delivery through ACME for cases where HTTP/DNS are not applicable.

Regards,
Scott.




On Thu, Nov 12, 2026 at 1:50 AM Mike Ounsworth <[email protected]>
wrote:

> Hi Scott,
>
> For my understanding, can you explain, relative to your demo, what data
> the CA / RA is pulling from the Identity credential (JWT) and placing into
> the certificate DN / SANs? And how Let's Encrypt is involved in this demo?
>
> On Wed, 11 Nov 2026 at 02:49, Aaron Gable <aaron=
> [email protected]> wrote:
>
>> Thank you, the demo is now much clearer. I still have my concerns about
>> the (lack of) binding between the wif-01 challenge and the identifiers it
>> is used for, but that can be addressed in the other thread.
>>
>> Aaron
>>
>> On Tue, Nov 10, 2026, 18:27 Scott Rasmussen <scott=
>> [email protected]> wrote:
>>
>>> Hi Aaron,
>>> Thank you for the email and I agree the implementation is confusing.
>>> I've updated the example implementation to be much simpler.
>>>
>>> The new example implementation uses a GitHub Action Workflow to obtain a
>>> short-lived ClientAuth certificate, then verifies that it works. This
>>> demonstrates:
>>> 1. An ACME client can obtain a certificate without using HTTP-01,
>>> DNS-01, or external account binding
>>> 2. There is no Secret Zero (shared secret, bootstrap credential) required
>>> 3. The caller requesting the certificate has a unique identity that can
>>> be verified by the CA/CLM using OIDC WIF
>>> 4. The Identity credential (JWT) cannot be replayed etc as it is unique
>>> to the challenge presented by the ACME server
>>>
>>> As we continue to see increased usage of X.509 certificates for cases
>>> outside of HTTPS, it is becoming more and more important to have to easy
>>> ways to obtain these certificates programmatically. ACME is an ideal
>>> protocol to expand upon as it's the defacto standard for ServerAuth
>>> use-cases. A simple extension like WIF-01 allows it to have use-cases
>>> expanding to mTLS, SSH Authentication, Ephemeral environment boostrapping
>>> etc... basically anywhere you want to use a certificate without bespoke
>>> Rest APIs or manual handling that isn't a ServerAuth use-case.
>>>
>>> You can see an updated run here;
>>> https://github.com/Zaita/rasmussen-acme-wif-example/actions/runs/42945819943/job/130278247577
>>>
>>> Regards,
>>> Scott.
>>>
>>>
>>>
>>>
>>> On Tue, Nov 10, 2026 at 6:18 PM Aaron Gable <aaron=
>>> [email protected]> wrote:
>>>
>>>> Hi Scott,
>>>>
>>>> I'm slightly confused by the github actions demo you linked, and would
>>>> love to get some clarification on how it works.
>>>>
>>>> To the best of my understanding, the demo simply prints the default
>>>> chain returned by the ACME server:
>>>> https://github.com/Zaita/rasmussen-acme-wif-example/blob/dbb9821fb922f59ad35ec608d459f91a6820d23b/main.go#L109
>>>> That output when run as a github action is here:
>>>> https://github.com/Zaita/rasmussen-acme-wif-example/actions/runs/38546893640
>>>>
>>>> This output is a chain of five certificates. The first one is a cert
>>>> for `test.zaita.com`, issued from one of Let's Encrypt's staging
>>>> intermediates (Artificial Amaranth YE1). The next three certificates are a
>>>> long chain for that end-entity: Artificial Amaranth itself, then the
>>>> staging Root YE, and finally the staging Root X2 issued by the staging Root
>>>> X1. These appear to be a *real* chain, issued by Let's Encrypt's real
>>>> staging environment (they validate up to stg-x1.i.lencr.org).
>>>> Therefore they are not part of a proof of concept for wif-01, because Let's
>>>> Encrypt's staging environment does not implement this draft.
>>>>
>>>> The last certificate in the file is an intermediate CA from your own
>>>> infrastructure, `intA.zaita.local`, issued from your own private root
>>>> `ca.zaita.local`. It does not carry any subject information that the github
>>>> action is configured to request (
>>>> https://github.com/Zaita/rasmussen-acme-wif-example/blob/dbb9821fb922f59ad35ec608d459f91a6820d23b/.github/workflows/acme-wif.yml#L32),
>>>> so it also cannot be the product of this proof-of-concept succeeding.
>>>>
>>>> Can you please clarify how this demo is supposed to work, in what way
>>>> it uses the wif-01 challenge to demonstrate control of any identifiers, and
>>>> how Let's Encrypt's staging infrastructure is involved?
>>>>
>>>> Thanks,
>>>> Aaron
>>>>
>>>> On Wed, Oct 14, 2026, 03:32 Scott Rasmussen <scott=
>>>> [email protected]> wrote:
>>>>
>>>>> Hello all,
>>>>> I'd like to share an example implementation of ACME WIF-01 challenge
>>>>> covering both a certificate lifecycle management product (interfacing with
>>>>> Let's Encrypt) and a GitHub Actions.
>>>>> Evidence of a completed end to end workflow can be found at:
>>>>> https://github.com/Zaita/rasmussen-acme-wif-example/actions/runs/38546893640
>>>>>
>>>>> The pathway for this is Github Action Workflow -> Zaita Certificate
>>>>> Lifecycle Manager -> Let's Encrypt
>>>>> The key here, the Github Action Workflow does not need any form of
>>>>> prior shared secret or static credential, the only configuration that must
>>>>> be made ahead of time is the challenge configuration in the CLM/CA. In 
>>>>> this
>>>>> example the ACME server is configured with "WIF-01 Challenge". A single
>>>>> challenge profile is created:
>>>>> ACME Directory URL:
>>>>> https://app.zaita.com/api/acme/c8e5cdcd-e6f4-4014-9e7d-353e5ea47303/directory
>>>>> OIDC JWT Issuer: https://token.actions.githubusercontent.com
>>>>> Subject: repo:Zaita@1491276/rasmussen-acme-wif-example@1418678156
>>>>> :ref:refs/heads/main
>>>>> Allowed Domains: test.zaita.com
>>>>>
>>>>> >From this point on, the Github Action workflow can issue certificates
>>>>> for the test domain without secret zero.
>>>>> How it works is documented:
>>>>> https://github.com/Zaita/rasmussen-acme-wif-example
>>>>>
>>>>> I'm happy to provide additional details, but as you can see. This
>>>>> provides an extremely easy paradigm for issuing certificates where HTTP 
>>>>> and
>>>>> DNS validation aren't viable. Total implementation time for the ACME 
>>>>> client
>>>>> was <15 minutes. Adding this capability to the CLM was slightly more
>>>>> involved, but given the CLM/CA side is already built for different
>>>>> challenge types it was still relatively straightforward.
>>>>>
>>>>> Regards,
>>>>> Scott Rasmussen
>>>>>
>>>>> _______________________________________________
>>>>> Acme mailing list -- [email protected]
>>>>> To unsubscribe send an email to [email protected]
>>>>>
>>>> _______________________________________________
>> Acme mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>>
>
_______________________________________________
Acme mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to