summaryrefslogtreecommitdiffstats
path: root/base/server/python/pki/server/deployment/pkimessages.py
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2014-09-01 12:53:28 -0400
committerAde Lee <alee@redhat.com>2014-09-02 15:45:33 -0400
commit0507afc6b1226b2878aafde8487eba736c74514f (patch)
treed08bc1b97c7652ce30396619a126b1dab494bb0d /base/server/python/pki/server/deployment/pkimessages.py
parent99e6330ce13e55ac325d76bdc33f1b1b00cba5d3 (diff)
downloadpki-0507afc6b1226b2878aafde8487eba736c74514f.tar.gz
pki-0507afc6b1226b2878aafde8487eba736c74514f.tar.xz
pki-0507afc6b1226b2878aafde8487eba736c74514f.zip
Fix kra-connector-remove
The code to remove the connector from the pki CLI was found to be broken because of invalid message type (partly due to void returns). On uninstall, we need to remove the kra-connector from all relevant CA's in the security domain. The best way to do this is to keep kra-connector info in LDAP, so that only one call is needed. Until that change has been made, we are adding a hack to remove the connector from all CA's in the secutrity domain (if it exists). Due to issues with proxy configurations, we will continue to use sslget and a url-encoded-form version of the servlet. In addition, it was found that when removing a KRA from a shared subsystem, the updateDomainXML servlet was erroneously returning failure when it was unsuccessful in removing a non-existent user from a group. Ticket 1113
Diffstat (limited to 'base/server/python/pki/server/deployment/pkimessages.py')
-rw-r--r--base/server/python/pki/server/deployment/pkimessages.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/server/python/pki/server/deployment/pkimessages.py b/base/server/python/pki/server/deployment/pkimessages.py
index 8b5ce3f2c..1c21e8689 100644
--- a/base/server/python/pki/server/deployment/pkimessages.py
+++ b/base/server/python/pki/server/deployment/pkimessages.py
@@ -216,6 +216,8 @@ PKIHELPER_KRACONNECTOR_UPDATE_CONTACT = \
PKIHELPER_KRACONNECTOR_UPDATE_FAILURE = "Failed to update KRA connector on CA"
PKIHELPER_KRACONNECTOR_UPDATE_FAILURE_2 = \
"Failed to update KRA connector for %s:%s"
+PKIHELPER_KRACONNECTOR_DEREGISTER_FAILURE_4 = \
+ "Failed to deregister KRA connector %s:%s from CA %s:%s"
PKIHELPER_LINK_S_2 = "ln -s %s %s"
PKIHELPER_MKDIR_1 = "mkdir -p %s"
PKIHELPER_MODIFY_DIR_1 = "modifying '%s'"