(self, env)
| 409 | # <https://bz.apache.org/bugzilla/show_bug.cgi?id=65567> |
| 410 | @pytest.mark.skipif(MDTestEnv.lacks_ocsp(), reason="no OCSP responder") |
| 411 | def test_md_801_011(self, env): |
| 412 | domains = [ f'test-801-011-{i}-{env.DOMAIN_SUFFIX}' for i in range(7)] |
| 413 | self.configure_httpd(env, domains, """ |
| 414 | MDStapling on |
| 415 | LogLevel md:trace2 ssl:warn |
| 416 | """).install() |
| 417 | assert env.apache_restart() == 0, f'{env.apachectl_stderr}' |
| 418 | assert env.await_completion(domains, restart=False, timeout=120) |
| 419 | assert env.apache_restart() == 0, f'{env.apachectl_stderr}' |
| 420 | # now the certs are installed and ocsp will be retrieved |
| 421 | time.sleep(1) |
| 422 | for domain in domains: |
| 423 | stat = env.await_ocsp_status(domain) |
| 424 | assert stat['ocsp'] == "successful (0x0)" |
| 425 | assert stat['verify'] == "0 (ok)" |
nothing calls this directly
no test coverage detected