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

Feature Request: add option to provide own root certificate #32

Open
hauleth opened this issue Mar 18, 2021 · 3 comments
Open

Feature Request: add option to provide own root certificate #32

hauleth opened this issue Mar 18, 2021 · 3 comments

Comments

@hauleth
Copy link

hauleth commented Mar 18, 2021

I have my own "small CA" that I ran on my machine for development. It is already added as a root cert, so it would be handy to be able to reuse that one instead of being forced to add exceptions for each application independently for internal ACME server.

@sasa1977
Copy link
Owner

I think this is a wonderful idea!

Currently to run the internal ACME server we pass {:internal, port: xyz}. This could be expanded with an optional :ca setting (defaults to nil), which should be propagated to this code, where the pair is used if provided, or generated if not.

The corresponding test could generate its own pair, start the endpoint with the given setting, and verify that the key is issued by the correct issuer.

WDYT?

@hauleth
Copy link
Author

hauleth commented Mar 18, 2021

Sounds like a solution.

@sasa1977
Copy link
Owner

Cool! Care to submit a PR?

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

2 participants