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

Added certificate renew option with old key or new key, and update TLSA record accordingly #1856

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

Ashiq5
Copy link

@Ashiq5 Ashiq5 commented Nov 5, 2020

The existing mail-in-a-box software doesn't have any options for renewing the current key or get a certificate with a new key. It creates a key pair initially and uses this key during the whole lifetime of the setup. If any user updates the key manually, he or she will have to manually change the certificates and TLSA records which is error-prone.

This update provides an option to renew the cert for the user with both the existing key and with a new key and if the user does so with a new key, then update the TLSA records using the Double TLSA scheme (https://mail.sys4.de/pipermail/dane-users/2018-February/000440.html). The main motivation for doing this is to reduce the number of misconfigurations due to manual key rollover.

Comments welcome.

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

Successfully merging this pull request may close these issues.

1 participant