From 04f13a9cf83bf1bae9ca24086fd15947ef264a0f Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 3 Feb 2016 16:22:52 -0800 Subject: [PATCH] Use symlinks not their targets --- letsencrypt/storage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/letsencrypt/storage.py b/letsencrypt/storage.py index e338c890a..67d40a58f 100644 --- a/letsencrypt/storage.py +++ b/letsencrypt/storage.py @@ -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