diff --git a/actions/monkeysphere b/actions/monkeysphere index badaab5c3..dc9905e1b 100755 --- a/actions/monkeysphere +++ b/actions/monkeysphere @@ -129,7 +129,7 @@ def get_https_keys(fingerprint_hash): # Read from FreedomBox configured domains with proper SSL certs. path = "/files/etc/apache2/sites-available//" \ "directive[. = 'Use'][arg[1] = 'FreedomBoxTLSSiteMacro']" - key_file = ("/files/etc/apache2//Macro[arg[1] = 'FreedomBoxTLSSiteMacro'])" + key_file = ("/files/etc/apache2//Macro[arg[1] = 'FreedomBoxTLSSiteMacro']" "//VirtualHost/directive[. = 'GnuTLSKeyFile']/arg") key_file = aug.get(key_file) for match in aug.match(path):