Only get instance actor key in secure mode

main
Bob Mottram 2021-09-08 13:01:59 +01:00
parent dd9a02ad2b
commit ac128bb122
1 changed files with 2 additions and 1 deletions

View File

@ -16737,6 +16737,7 @@ def runDaemon(lowBandwidth: bool,
# signing key used for authorized fetch # signing key used for authorized fetch
# this is the instance actor private key # this is the instance actor private key
if secureMode:
httpd.signingPrivateKeyPem = getInstanceActorKey(baseDir, domain) httpd.signingPrivateKeyPem = getInstanceActorKey(baseDir, domain)
if not unitTest: if not unitTest: