import script will create top level auth keys if they dont exist
[sfa.git] / sfa / importer / sfaImport.py
index 4c5b5c7..568fce8 100644 (file)
@@ -75,6 +75,8 @@ class sfaImport:
         if not parent_hrn == hrn:
             self.create_top_level_auth_records(parent_hrn)
 
+        # enxure key and cert exists:
+        self.AuthHierarchy.create_top_level_auth(hrn)    
         # create the db record if it doesnt already exist    
         auth_info = self.AuthHierarchy.get_auth_info(hrn)
         table = SfaTable()