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

Add authority.WithX509SignerFunc #879

Merged
merged 2 commits into from
Mar 29, 2022
Merged

Add authority.WithX509SignerFunc #879

merged 2 commits into from
Mar 29, 2022

Conversation

maraino
Copy link
Contributor

@maraino maraino commented Mar 29, 2022

Description

This change adds a new authority option that allows passing a callback that returns the certificate chain and signer used to sign X.509 certificates.

This option will be used by Caddy, they renew the intermediate certificate weekly and there's no other way to replace it without re-creating the embedded CA.

Fixes #874

This change adds a new authority option that allows to pass a callback
that returns the certificate chain and signer used to sign X.509
certificates.

This option will be used by Caddy, they renew the intermediate
certificate weekly and there's no other way to replace it without
re-creating the embedded CA.

Fixes #874
@github-actions github-actions bot added the needs triage Waiting for discussion / prioritization by team label Mar 29, 2022
@maraino maraino requested a review from azazeal March 29, 2022 00:59
Copy link
Contributor

@azazeal azazeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - minor comments

cas/apiv1/options.go Outdated Show resolved Hide resolved
cas/softcas/softcas_test.go Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add authority option WithX509SignerFunc
2 participants