Allow configuration of the path used for ACME account keys.

Because sticking it in the same place as the config isn't necessarily the right
thing to do.
This commit is contained in:
Richard van der Hoff 2019-06-21 15:27:41 +01:00
parent c3c6b00d95
commit edea4bb5be
4 changed files with 59 additions and 7 deletions

View file

@ -47,7 +47,7 @@ class AcmeHandler(object):
self._issuer = acme_issuing_service.create_issuing_service(
self.reactor,
acme_url=self.hs.config.acme_url,
pem_path=self.hs.config.config_dir_path,
account_key_file=self.hs.config.acme_account_key_file,
well_known_resource=well_known,
)