diff --git a/ipatests/test_integration/test_acme.py b/ipatests/test_integration/test_acme.py index d83137e30..6998cbf87 100644 --- a/ipatests/test_integration/test_acme.py +++ b/ipatests/test_integration/test_acme.py @@ -291,11 +291,13 @@ class TestACME(CALessBase): def test_mod_md(self): # write config self.clients[0].run_command(['mkdir', '-p', '/etc/httpd/conf.d']) + self.clients[0].run_command(['mkdir', '-p', '/etc/httpd/md']) self.clients[0].put_file_contents( '/etc/httpd/conf.d/md.conf', '\n'.join([ f'MDCertificateAuthority {self.acme_server}', 'MDCertificateAgreement accepted', + 'MDStoreDir /etc/httpd/md', f'MDomain {self.clients[0].hostname}', '', f' ServerName {self.clients[0].hostname}', @@ -325,6 +327,10 @@ class TestACME(CALessBase): self.master.run_command( ['curl', f'https://{self.clients[0].hostname}']) + # clean-up + self.clients[0].run_command(['rm', '-rf', '/etc/httpd/md']) + self.clients[0].run_command(['rm', '-f', '/etc/httpd/conf.d/md.conf']) + ###################### # Disable ACME service ######################