1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

Use symlinks not their targets

This commit is contained in:
Brad Warren
2016-02-03 16:22:52 -08:00
parent db9a931fb0
commit 04f13a9cf8

View File

@@ -805,9 +805,10 @@ class RenewableCert(object): # pylint: disable=too-many-instance-attributes
logger.debug("Writing full chain to %s.", target["fullchain"])
f.write(new_cert + new_chain)
symlinks = dict((kind, self.configuration[kind]) for kind in ALL_FOUR)
# Update renewal config file
self.configfile = update_configuration(
self.lineagename, target, cli_config)
self.lineagename, symlinks, cli_config)
self.configuration = config_with_defaults(self.configfile)
return target_version