Skip to content

Commit b36be12

Browse files
committed
Merge pull request certbot#1226 from SwartzCr/issue_809
Apache with more than one vhost (fixes certbot#809)
2 parents 3a99c7b + fbd09dd commit b36be12

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

letsencrypt/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ def deploy_certificate(self, domains, privkey_path,
326326
key_path=os.path.abspath(privkey_path),
327327
chain_path=chain_path,
328328
fullchain_path=fullchain_path)
329+
self.installer.save()
329330

330331
self.installer.save("Deployed Let's Encrypt Certificate")
331332
# sites may have been enabled / final cleanup

letsencrypt/tests/client_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def test_deploy_certificate(self):
163163
domain='foo.bar',
164164
fullchain_path='fullchain',
165165
key_path=os.path.abspath("key"))
166-
self.assertEqual(installer.save.call_count, 1)
166+
self.assertEqual(installer.save.call_count, 2)
167167
installer.restart.assert_called_once_with()
168168

169169
@mock.patch("letsencrypt.client.enhancements")

0 commit comments

Comments
 (0)