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,7 +16737,8 @@ 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
httpd.signingPrivateKeyPem = getInstanceActorKey(baseDir, domain) if secureMode:
httpd.signingPrivateKeyPem = getInstanceActorKey(baseDir, domain)
if not unitTest: if not unitTest:
print('Creating inbox queue watchdog') print('Creating inbox queue watchdog')