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
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

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