1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-23 07:20:55 +03:00

Quickfix for wrong renewer target paths.

IOError: [Errno 2] No such file or directory: '/tmp/le/config/archive/renewer/privkey2.pem'
This commit is contained in:
Jakub Warmuz
2015-06-25 05:53:39 +00:00
parent 38b497ef73
commit 77ddc68d8e

View File

@@ -140,6 +140,8 @@ def main(config=None, args=sys.argv[1:]):
rc_config = configobj.ConfigObj(cli_config.renewer_config_file)
rc_config.merge(configobj.ConfigObj(
os.path.join(cli_config.renewal_configs_dir, i)))
# TODO: this is a dirty hack!
rc_config.filename = os.path.join(cli_config.renewal_configs_dir, i)
try:
# TODO: Before trying to initialize the RenewableCert object,
# we could check here whether the combination of the config