def setup_module(module): print("setup_module: %s" % module.__name__) TestEnv.initv1() TestEnv.check_acme() TestEnv.httpd_error_log_clear() TestEnv.APACHE_CONF_SRC = "data/test_drive" HttpdConf().install() assert TestEnv.apache_restart() == 0
def setup_module(module): print("setup_module module:%s" % module.__name__) TestEnv.initv1() TestEnv.APACHE_CONF_SRC = "data/test_auto" TestEnv.check_acme() TestEnv.clear_store() HttpdConf().install() assert TestEnv.apache_start() == 0
def test_720_000(self): domain = self.test_domain # switch to ACMEv1 TestEnv.initv1() # generate config with DNS wildcard domains = [ domain, "*." + domain ] conf = HttpdConf() conf.add_admin( "*****@*****.**" ) conf.add_md( domains ) conf.add_vhost(domains) conf.install() # restart, check that md is in store assert TestEnv.apache_restart() == 0 TestEnv.check_md( domains ) # await drive error as ACMEv1 does not accept DNS wildcards md = TestEnv.await_error(domain) assert md assert md['renewal']['errors'] > 0 assert md['renewal']['last']['problem'] == 'urn:acme:error:malformed'
def setup_module(module): print("setup_module: %s" % module.__name__) TestEnv.initv1()
def setup_module(module): print("setup_module module:%s" % module.__name__) TestEnv.initv1() TestEnv.APACHE_CONF_SRC = "data/test_roundtrip" TestEnv.clear_store() HttpdConf().install()