summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/initialization.py
diff options
context:
space:
mode:
Diffstat (limited to 'base/deploy/src/scriptlets/initialization.py')
-rw-r--r--base/deploy/src/scriptlets/initialization.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/deploy/src/scriptlets/initialization.py b/base/deploy/src/scriptlets/initialization.py
index 034179e..102fd42 100644
--- a/base/deploy/src/scriptlets/initialization.py
+++ b/base/deploy/src/scriptlets/initialization.py
@@ -104,6 +104,10 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
util.identity.set_gid(master['pki_group'])
# get ports to remove selinux context
util.configuration_file.populate_non_default_ports()
+
+ # remove kra connector from CA if this is a KRA
+ util.kra_connector.deregister()
+
# de-register instance from its Security Domain
#
# NOTE: Since the security domain of an instance must be up