certbot/certbot-nginx
Adrien Ferrand 8cf3bcd3f3 [Windows|Unix] Avoid to re-execute challenges already validated (#6551)
In response to #5342.

Currently, certbot will execute the operations necessary to validate a challenge even if the challenge has already been validated before against the acme ca server. This can occur for instance if a certificate is asked and issue correctly, then deleted locally, then asked again.

It is a corner case, but it will lead to some heavy operations (like updating a DNS zone, or creating an HTTP server) that are not needed.

This PR corrects this behavior by not executing challenges already validated, and use them directly instead to issue the certificate.

Fixes #5342

* Avoid to execute a given challenge that have been already validated by acme ca server.

* Execute tls challenge on a separate dns name, to avoid reusing the existing valid http challenge.

* Align with master

* Improve log

* Simplify the implementation

* Update changelog

* Add a unit test to ensure that validated challenges are not rerun
2019-01-09 12:52:53 -08:00
..
certbot_nginx Merge branch 'master' into warnings-are-errors 2018-11-05 16:57:50 -08:00
docs added new docs links 2016-05-04 17:03:52 -07:00
tests [Windows|Unix] Avoid to re-execute challenges already validated (#6551) 2019-01-09 12:52:53 -08:00
LICENSE.txt s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
local-oldest-requirements.txt Pin the real oldest requirement for nginx tests. (#6327) 2018-08-29 15:15:57 -07:00
MANIFEST.in s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
README.rst s/Let's Encrypt/Certbot certbot-nginx 2016-04-13 16:49:30 -07:00
readthedocs.org.requirements.txt s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
setup.cfg Tell the world we're Python 3 compatible (#4568) 2017-04-28 16:06:45 -07:00
setup.py Bump version to 0.31.0 2019-01-02 12:33:31 -08:00

Nginx plugin for Certbot