Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep track of created orders in the auto mode. #98

Open
air2 opened this issue Jan 30, 2025 · 0 comments
Open

Keep track of created orders in the auto mode. #98

air2 opened this issue Jan 30, 2025 · 0 comments

Comments

@air2
Copy link

air2 commented Jan 30, 2025

Because of bug letsencrypt/boulder#3335, it is recommended to let clients keep track of orders. However currently the orders generated in the auto mode cannot be tracked.
A simple callback in the options for the auto certificate registration could solve this.
After creating the order something like:

if (opts.createdOrderCallbackFn) {
    try {

        await opts.createdOrderCallbackFn(order);
    } catch (error) {
        log(`[auto] createdOrderCallbackFn threw error: ${getAsError(error).message}`);
        throw error
    }
}

Could let the caller notify of the created order and store it as liked.
I am relative new to Let's Encrypt and the Acme protocol. So maybe this idea is just not the way to go. Can somebody with more experience shine a light on this?

I could of course create a pull request for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant