Propagate certs to everything that needs them

This commit is contained in:
Thomas Mendoza
2018-06-07 16:00:19 -07:00
parent a69e906c6e
commit c50cd1ba7f
7 changed files with 99 additions and 4 deletions

View File

@@ -224,6 +224,7 @@ class Service(LoggingConfigurable):
domain = Unicode()
host = Unicode()
hub = Any()
app = Any()
proc = Any()
# handles on globals:
@@ -331,6 +332,9 @@ class Service(LoggingConfigurable):
server=self.orm.server,
host=self.host,
),
internal_ssl=self.app.internal_ssl,
internal_certs_location=self.app.internal_certs_location,
internal_authority_name=self.app.internal_authority_name,
)
self.spawner.start()
self.proc = self.spawner.proc