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

Multiple certificates - regenerate array when renewing #2

Open
g105b opened this issue Oct 3, 2022 · 1 comment
Open

Multiple certificates - regenerate array when renewing #2

g105b opened this issue Oct 3, 2022 · 1 comment

Comments

@g105b
Copy link
Owner

g105b commented Oct 3, 2022

Unit's listener/*:443/tls/certificate can take an array. It should always be an array if there are more than one domains served.

When certificate is renewed, get a local copy of the array, remove any entries that start with $app_name-certbot, then add the new $app_name-certbot-$date_stamp, then set the array back into Unit's configuration.

@g105b
Copy link
Owner Author

g105b commented Oct 3, 2022

Documentation is lacking, but there's more information here:

https://unit.nginx.org/news/2021/unit-1.23.0-released/

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