We're excited to announce that we've just released v2.0.0 of Certbot! The changelog is as follows:
2.0.0 - 2022-11-21
Added
- Support for Python 3.11 was added to Certbot and all of its components.
acme.challenges.HTTP01Response.simple_verifynow accepts a timeout argument which defaults to 30 that causes the verification request to timeout after that many seconds.
Changed
- The default key type for new certificates is now ECDSA
secp256r1(P-256). It was previously RSA 2048-bit. Existing certificates are not affected. - The Apache plugin no longer supports Apache 2.2.
acmeand Certbot no longer support versions of ACME from before the RFC 8555 standard.acmeand Certbot no longer support the oldurn:acme:error:ACME error prefix.- Removed the deprecated
certbot-dns-cloudxnsplugin. - Certbot will now error if a certificate has
--reuse-keyset and a conflicting--key-type,--key-sizeor--elliptic-curveis requested on the CLI. Use--new-keyto change the key while preserving--reuse-key. - 3rd party plugins no longer support the
dist_name:plugin_nameformat on the CLI and in configuration files. Use the shorterplugin_nameformat. acme.client.Client,acme.client.ClientBase,acme.client.BackwardsCompatibleClientV2,acme.mixins,acme.client.DER_CONTENT_TYPE,acme.fields.Resource,acme.fields.resource,acme.magic_typing,acme.messages.OLD_ERROR_PREFIX,acme.messages.Directory.register,acme.messages.Authorization.resolved_combinations,acme.messages.Authorization.combinationshave been removed.acme.messages.Directorynow only supports lookups by the exact resource name string in the ACME directory (e.g.directory['newOrder']).- Removed the deprecated
source_addressargument foracme.client.ClientNetwork. - The
zopebased interfaces incertbot.interfaceshave been removed in favor of theabcbased interfaces found in the same module. - Certbot no longer depends on
zope. - Removed deprecated function
certbot.util.get_strict_version. - Removed deprecated functions
certbot.crypto_util.init_save_csr,certbot.crypto_util.init_save_key,
andcertbot.compat.misc.execute_command - The attributes
FileDisplay,NoninteractiveDisplay,SIDE_FRAME,input_with_timeout,separate_list_input,summarize_domain_list,HELP, andESCfromcertbot.display.utilhave been removed. - Removed deprecated functions
certbot.tests.util.patch_get_utility*. Plugins should now
patchcertbot.display.utilthemselves in their tests or use
certbot.tests.util.patch_display_utilas a temporary workaround. - Certbot's test API under
certbot.testsnow usesunittest.mockinstead of the 3rd partymocklibrary.
Fixed
- Fixes a bug where the certbot working directory has unusably restrictive permissions on systems with stricter default umasks.
- Requests to subscribe to the EFF mailing list now time out after 60 seconds.
We plan to slowly roll out Certbot 2.0 to all of our snap users in the coming months. If you want to use the Certbot 2.0 snap now, please follow the instructions at Certbot 2.0 beta - call for testing.
More details about these changes can be found on our GitHub repo.