Skip to content

Integrate the ECDSA certificates feature on master#8444

Merged
bmw merged 6 commits intomasterfrom
ecdsa
Nov 19, 2020
Merged

Integrate the ECDSA certificates feature on master#8444
bmw merged 6 commits intomasterfrom
ecdsa

Conversation

@adferrand
Copy link
Copy Markdown
Collaborator

@adferrand adferrand commented Nov 11, 2020

Fixes #8366 #2625

This PR integrates the ecdsa branch that includes five reviewed PRs (#8431, #8435, #8447, #8451 and #8464) into master to enable the ECDSA certificates feature officially in Certbot.

On top of this work remains only #8366 which is not related to code, but to documentation: once this PR is merged, a Certbot dev team member need to post on the Let'sEncrypt support forum to advertise about this new feature and describe the migration path to move from a RSA to an ECDSA key and warn about risks to downgrade Certbot in this case. The content of this post can be taken from the "Migrating to certificates based on ECDSA keys" section in certbot/docs/using.rst.

This PR should be merged and not squashed to preserve commits authorship.

atombrella and others added 3 commits November 4, 2020 15:16
Thanks to @pahrohfit and @Tomoyuki-GH for previous efforts to implement
suport for this.

Co-Authored-By: Robert Dailey <rob@wargam.es>
Co-Authored-By: Tomoyuki-GH <55397638+Tomoyuki-GH@users.noreply.github.com>
Implements support for ECDSA keys. Fixes #2163.
Fixes #8365

This PR adds a control when `certbot certonly` or `certbot run` are called for a certificate that already exists and would eventually be replaced. As described in #8365, this control is here to ensure that the user will not modify the key type of their certificate (eg. ECDSA to RSA) without an explicit approval (set explicitly `--cert-name` and `--key-type`), since RSA is the default if not specified.

* Handle unexpected key type migration.

* Update certbot-ci/certbot_integration_tests/certbot_tests/test_main.py

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
@adferrand adferrand mentioned this pull request Nov 12, 2020
2 tasks
* Changelog tweaks.

* Add ECDSA documentation

* Fix typo
@adferrand
Copy link
Copy Markdown
Collaborator Author

All features are integrated. As said by @bmw in #8366 (comment):

If it lands, all I think we need to do here is to update the Certbot submodule on the website repo after our next release and add a comment to the thread for the release linking to these docs.

@bmw
Copy link
Copy Markdown
Member

bmw commented Nov 19, 2020

I started a run of the full test suite on this branch at https://dev.azure.com/certbot/certbot/_build/results?buildId=3042&view=results. If it passes, I think we can merge this 🎉

@adferrand
Copy link
Copy Markdown
Collaborator Author

It passes 💯

@adferrand
Copy link
Copy Markdown
Collaborator Author

adferrand commented Nov 19, 2020

One reminder: please do not forget to merge it instead of squash.

@bmw bmw merged commit 9ca7f76 into master Nov 19, 2020
@bmw
Copy link
Copy Markdown
Member

bmw commented Nov 19, 2020

Merged. Thanks to everyone who helped us work on this!

@bmw bmw deleted the ecdsa branch November 19, 2020 19:55
This was referenced Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide a documentation to migrate to ECDSA certificates

3 participants