fix AttributeError
[sfa.git] / sfa / importer / __init__.py
index 84e5992..9fc4e2b 100644 (file)
@@ -77,9 +77,9 @@ class Importer:
         """
         # just create certs for all sfa interfaces even if they
         # aren't enabled
-        auth_info = self.auth_hierarchy.get_auth_info(self.interface_hrn)
+        auth_info = self.auth_hierarchy.get_auth_info(self.config.SFA_INTERFACE_HRN)
         pkey = auth_info.get_pkey_object()
-        hrn=self.interface_hrn
+        hrn=self.config.SFA_INTERFACE_HRN
         for type in  [ 'authority+sa', 'authority+am', 'authority+sm', ]:
             urn = hrn_to_urn(hrn, type)
             gid = self.auth_hierarchy.create_gid(urn, create_uuid(), pkey)