From d87cd3bca6b86036a9a24075b21f4af5d476e163 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 17 Jan 2018 09:29:01 -0800 Subject: [PATCH] fix typo --- certbot-apache/certbot_apache/http_01.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot-apache/certbot_apache/http_01.py b/certbot-apache/certbot_apache/http_01.py index 1dfb0b01a..ca3248ba0 100644 --- a/certbot-apache/certbot_apache/http_01.py +++ b/certbot-apache/certbot_apache/http_01.py @@ -101,7 +101,7 @@ class ApacheHttp01(common.TLSSNI01): def _relevant_vhosts(self): http01_port = self.configurator.config.http01_port relevant_vhosts = [] - for vhost in self.vhosts: + for vhost in self.configurator.vhosts: if any(a.is_wildcard() or a.get_port() == http01_port for a in vhost.addrs): if not vhost.ssl: relevant_vhosts.append(vhost)