mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
also debug the written conf file
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user