diff options
author | Ade Lee <alee@redhat.com> | 2014-09-01 12:53:28 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2014-09-02 15:45:33 -0400 |
commit | 0507afc6b1226b2878aafde8487eba736c74514f (patch) | |
tree | d08bc1b97c7652ce30396619a126b1dab494bb0d /base/server/python/pki/server/deployment/pkiparser.py | |
parent | 99e6330ce13e55ac325d76bdc33f1b1b00cba5d3 (diff) | |
download | pki-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/pkiparser.py')
-rw-r--r-- | base/server/python/pki/server/deployment/pkiparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/server/python/pki/server/deployment/pkiparser.py b/base/server/python/pki/server/deployment/pkiparser.py index 3b2a99c9f..1f6cbe0b4 100644 --- a/base/server/python/pki/server/deployment/pkiparser.py +++ b/base/server/python/pki/server/deployment/pkiparser.py @@ -27,7 +27,7 @@ import ldap import logging import os import random -import requests +import requests.exceptions import string import subprocess import xml.etree.ElementTree as ET |