summaryrefslogtreecommitdiffstats
path: root/base/server/python
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2016-06-10 22:18:03 -0400
committerEndi S. Dewata <edewata@redhat.com>2016-06-13 21:02:32 +0200
commit2ff3c4d50a3ca3f66db097d2c15f46417ad5a3fc (patch)
tree661d96cb6a6f2bfcc585889aed4c6f0e67ad6974 /base/server/python
parent5f1bd9ce85dbe13ce8b40e6ffcf6812d6e54a12d (diff)
downloadpki-2ff3c4d50a3ca3f66db097d2c15f46417ad5a3fc.tar.gz
pki-2ff3c4d50a3ca3f66db097d2c15f46417ad5a3fc.tar.xz
pki-2ff3c4d50a3ca3f66db097d2c15f46417ad5a3fc.zip
Add man page and clarify CLI for kra-connector
Diffstat (limited to 'base/server/python')
-rw-r--r--base/server/python/pki/server/deployment/pkihelper.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/server/python/pki/server/deployment/pkihelper.py b/base/server/python/pki/server/deployment/pkihelper.py
index 50146af99..1be984d12 100644
--- a/base/server/python/pki/server/deployment/pkihelper.py
+++ b/base/server/python/pki/server/deployment/pkihelper.py
@@ -3068,7 +3068,7 @@ class KRAConnector:
# noinspection PyBroadException
# pylint: disable=W0703
try:
- self.execute_using_sslget(
+ self.execute_using_pki(
ca_port, ca_host, subsystemnick,
token_pwd, krahost, kraport)
except Exception:
@@ -3119,7 +3119,9 @@ class KRAConnector:
"-P", "https",
"-d", self.mdict['pki_database_path'],
"-c", token_pwd,
- "ca-kraconnector-del", krahost, str(kraport)]
+ "ca-kraconnector-del",
+ "--host", krahost,
+ "--port", str(kraport)]
output = subprocess.check_output(command,
stderr=subprocess.STDOUT)