1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

55 Commits

Author SHA1 Message Date
Adrien Ferrand
821bec6997 Remove tls-sni related flags in cli. Add a deprecation warning instead. (#6853)
This PR is a part of the tls-sni-01 removal plan described in #6849.

This PR removes --tls-sni-01-port, --tls-sni-01-address and tls-sni-01/tls-sni options from --preferred-challenges. They are replace by deprecation warning, indicating that these options will be removed soon.

This deprecation, instead of complete removal, is done to avoid certbot instances to hard fail if some automated scripts still use these flags for some users.

Once this PR lands, we can remove completely theses flags in one or two release.

* Remove tls-sni related flags in cli. Add a deprecation warning instead.

* Adapt tests to cli and renewal towards tls-sni flags deprecation

* Add https_port option. Make tls_sni_01_port show a deprecation warning, but silently modify https_port if set

* Migrate last items

* Fix lint

* Update certbot/cli.py

Co-Authored-By: adferrand <adferrand@users.noreply.github.com>

* Ensure to remove all occurences of tls-sni-01

* Remove unused parameter

* Revert modifications on cli-help.txt

* Use logger.warning instead of sys.stderr

* Update the logger warning message

* Remove standalone_supported_challenges option.

* Fix order of preferred-challenges

* Remove supported_challenges property

* Fix some tests

* Fix lint

* Fix tests

* Add a changelog

* Clean code, fix test

* Update CI

* Reload

* No hard date for tls-sni removal

* Remove useless cast to list

* Update certbot/tests/renewal_test.py

Co-Authored-By: adferrand <adferrand@users.noreply.github.com>

* Add entry to the changelog

* Add entry to the changelog
2019-03-26 17:46:32 -07:00
ohemorange
5ecb68f2ed Update instances of acme-staging url to acme-staging-v02 (#5734)
* update instances of acme-staging url to acme-staging-v02

* keep example client as v1

* keep deactivate script as v1
2018-03-16 15:24:55 -07:00
Seth Schoen
07f95e6197 Improvements to example cli.ini 2017-03-27 15:14:07 -07:00
Brad Warren
ae6f1c62f1 Rename misc files 2016-04-14 10:20:23 -07:00
Roy Wellington Ⅳ
e9d981aceb Change zope's classProvides to be a class decorator.
When attempting to import any module that uses
zope.interface.classProvides in Python 3, a TypeError is raised; it
reads:

    TypeError: Class advice impossible in Python3.  Use the @provider
    class decorator instead.

Following the listed advice seems to function in Python 3.
2016-02-20 00:41:01 -08:00
Roy Wellington Ⅳ
b6142c13d6 Change zope's implements to be a class decorator.
When attempting to import any module that uses zope.interface.implements
in Python 3, a TypeError is raised; it reads:

    TypeError: Class advice impossible in Python3.  Use the @implementer
    class decorator instead.

Following the listed advice seems to function in Python 3.
2016-02-20 00:37:40 -08:00
Jakub Warmuz
7788799a9b Staging URI in dev-cli.ini example 2015-12-29 08:55:13 +00:00
Nelson Elhage
cb6ecea087 Fix a typo in example config file. 2015-12-05 11:35:54 -08:00
Nelson Elhage
55097af38a Document passing domains via config file.
closes #1771
2015-12-05 11:03:58 -08:00
Brad Warren
462139fca9 Kill --agree-dev-preview 2015-12-01 16:51:05 -08:00
Jakub Warmuz
93e69ef7de tls-sni-01 for standalone 2015-11-07 18:24:17 +00:00
Jakub Warmuz
e8cfedb34d Move example ACME client to acme subpkg 2015-10-28 07:10:53 +00:00
Till Maas
b53691860f Actually use BITS constant in example client 2015-10-27 20:04:20 +01:00
Brad Warren
02159624bf Informed users about other options 2015-10-24 09:20:52 -07:00
Brad Warren
b2c27df199 Uncommented lines because CSS 2015-10-23 19:15:00 -07:00
Brad Warren
c95ef0d4aa Updated examples/cli.ini 2015-10-23 19:01:08 -07:00
Brad Warren
5ac682e478 Added example/cli.ini 2015-10-22 17:13:57 -07:00
Jakub Warmuz
aa4641b3b0 --agree-dev-preview
`git grep -i eula` to the rescue
2015-10-20 19:33:27 +00:00
Jakub Warmuz
5128a0345f agree-tos in dev-cli.ini 2015-09-26 11:07:54 +00:00
Stacey Sheldon
7073f947bd examples: fix typos in generate-csr.sh script comments 2015-08-23 10:24:51 -04:00
Jakub Warmuz
12720a2252 Fix CSR loading in ACME example client script. 2015-07-12 11:53:18 +00:00
Jakub Warmuz
0d087788da Accept new_reg in acme.client.Client.register. 2015-07-08 19:23:12 +00:00
James Kasten
bb831206b5 Merge pull request #591 from kuba/cryptography
Drop M2Crypto and PyCrypto.
2015-07-08 12:04:45 -07:00
Jakub Warmuz
36eafde213 Use ComparableRSAKey autowrap throughout the code base. 2015-07-08 12:07:05 +00:00
Jakub Warmuz
9197fa6b5c acme: M2Crypto -> pyOpenSSL 2015-07-06 12:18:17 +00:00
Jakub Warmuz
e0293d81f3 acme: drop PyCrypto and use cryptography instead.
- Use cryptography in acme.jose.jwa/jwk.
- Change Crypto.Random to os.urandom,
  c.f. https://cryptography.io/en/latest/random-numbers/?highlight=urandom
2015-07-05 20:36:20 +00:00
Jakub Warmuz
7c3c52c2b1 Add example dev config file, config file docs. 2015-07-03 15:02:01 +00:00
Jakub Warmuz
abbd2483a5 install --key-path (fixes #550) 2015-06-26 13:26:09 +00:00
Jakub Warmuz
4057734c33 Add integrations tests for CSR. 2015-06-25 16:05:25 +00:00
Jakub Warmuz
e51f300ee6 Merge remote-tracking branch 'github/letsencrypt/master' into csr
Conflicts:
	letsencrypt/cli.py
	letsencrypt/client.py
	letsencrypt/tests/client_test.py
2015-06-25 13:36:41 +00:00
Jakub Warmuz
90dae9fd88 Update restified example script and rename to acme_client.py 2015-06-22 09:28:16 +00:00
Jakub Warmuz
a278d53f52 Rename messages2 to messages. 2015-06-22 04:52:08 +00:00
Jakub Warmuz
71a01d139c Rename network2 to network. 2015-06-22 04:52:08 +00:00
Jakub Warmuz
60cc025658 Add generete-csr.sh script to examples. 2015-06-15 11:40:17 +00:00
Jakub Warmuz
74d6d4e0b3 Fix typo in examples 2015-05-15 19:53:41 +00:00
Jakub Warmuz
0604a393f0 examples: update restified 2015-05-10 13:11:51 +00:00
Jakub Warmuz
41e86df252 Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
Jakub Warmuz
595230fd8e PluginsEntryPoint.prepare, move pick_* to display_ops 2015-05-03 07:56:49 +00:00
Jakub Warmuz
19cff00835 common.Plugin (with .conf(var), PluginEntryPoint, PluginRegistry 2015-05-02 07:01:44 +00:00
Jakub Warmuz
b0fe02f732 merge github/letsencrypt/master 2015-04-22 09:16:13 +00:00
James Kasten
e41acf72a0 Merge pull request #325 from kuba/network2
Restified messages2 and network2
2015-04-01 15:14:20 -07:00
Jakub Warmuz
8bc55899e6 Subparsers CLI 2015-03-30 12:43:00 +00:00
James Kasten
989b8f059b Update documentation 2015-03-27 15:20:43 -07:00
Jakub Warmuz
ff532469a5 Setuptools entry_points plugins 2015-03-26 13:55:23 +00:00
Jakub Warmuz
d304f53895 pylint network2/messages2/fields 2015-03-26 11:10:06 +00:00
Jakub Warmuz
4eef08911a network2: priority queue polling, _retry_after 2015-03-25 12:44:37 +00:00
Jakub Warmuz
0c30bcbf3e Fix "pool tuple" bug in restified example 2015-03-24 19:30:14 +00:00
Jakub Warmuz
3676a6d87a network2: Update poll() 2015-03-24 19:05:09 +00:00
Jakub Warmuz
3dcf81dbb6 network2: Improve error handling 2015-03-24 18:55:32 +00:00
Jakub Warmuz
d9176d4267 Improve request_issuance 2015-03-24 18:50:53 +00:00