mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
also debug the written conf file
This commit is contained in:
parent
c9b9b0edda
commit
49f36f8071
1 changed files with 2 additions and 1 deletions
|
|
@ -104,8 +104,9 @@ class ApacheTlsSni01(common.TLSSNI01):
|
|||
self.configurator.reverter.register_file_creation(
|
||||
True, self.challenge_conf)
|
||||
|
||||
with open(self.challenge_conf, "w") as new_conf:
|
||||
with open(self.challenge_conf, "rw") as new_conf:
|
||||
new_conf.write(config_text)
|
||||
logger.debug(new_conf.read())
|
||||
|
||||
return addrs
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue