diff options
author | Erica Portnoy <ebportnoy@gmail.com> | 2018-01-11 09:06:42 +0300 |
---|---|---|
committer | Erica Portnoy <ebportnoy@gmail.com> | 2018-01-11 09:06:42 +0300 |
commit | 1afec8a8fdc89fb189235ca6f6cdf7ba730260b1 (patch) | |
tree | 3b29945b1a8b7e82823327093ccbbc489f7bed04 /certbot-nginx/certbot_nginx/configurator.py | |
parent | c9759bd1b627bba162d4e80471add600a3a0bda2 (diff) |
refactor NginxHttp01 and NginxTlsSni01 to both now inherit from NginxChallengePerformer
Diffstat (limited to 'certbot-nginx/certbot_nginx/configurator.py')
-rw-r--r-- | certbot-nginx/certbot_nginx/configurator.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/certbot-nginx/certbot_nginx/configurator.py b/certbot-nginx/certbot_nginx/configurator.py index 024f0f7e4..31380d755 100644 --- a/certbot-nginx/certbot_nginx/configurator.py +++ b/certbot-nginx/certbot_nginx/configurator.py @@ -25,8 +25,7 @@ from certbot.plugins import common from certbot_nginx import constants from certbot_nginx import nginxparser from certbot_nginx import parser -from certbot_nginx import tls_sni_01 -from certbot_nginx import http_01 +from certbot_nginx import challenges as nginx_challenges logger = logging.getLogger(__name__) @@ -854,8 +853,8 @@ class NginxConfigurator(common.Installer): """ self._chall_out += len(achalls) responses = [None] * len(achalls) - sni_doer = tls_sni_01.NginxTlsSni01(self) - http_doer = http_01.NginxHttp01(self) + sni_doer = nginx_challenges.NginxTlsSni01(self) + http_doer = nginx_challenges.NginxHttp01(self) for i, achall in enumerate(achalls): # Currently also have chall_doer hold associated index of the |