diff options
| author | Ade Lee <alee@redhat.com> | 2013-04-28 01:02:30 -0400 |
|---|---|---|
| committer | Ade Lee <alee@redhat.com> | 2013-04-28 01:08:00 -0400 |
| commit | 9d535ab400a937d1ed309923302353a7c665dd96 (patch) | |
| tree | 1964f7656c54bc67a23144a017223972932342b4 /base/server/src/engine | |
| parent | e7a9add502681e13fde159e6f3a026af249e92f9 (diff) | |
| download | pki-9d535ab400a937d1ed309923302353a7c665dd96.tar.gz pki-9d535ab400a937d1ed309923302353a7c665dd96.tar.xz pki-9d535ab400a937d1ed309923302353a7c665dd96.zip | |
Fix some errors in patch.
Update kraconnector-delete call to use -c for database password.
Update get-install-token call to specify instance certdb. Removed
--ignore-untrusted directives on both. Update man page.
Diffstat (limited to 'base/server/src/engine')
| -rw-r--r-- | base/server/src/engine/pkihelper.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/base/server/src/engine/pkihelper.py b/base/server/src/engine/pkihelper.py index 1ff50cd13..e7735d8d3 100644 --- a/base/server/src/engine/pkihelper.py +++ b/base/server/src/engine/pkihelper.py @@ -2594,8 +2594,7 @@ class kra_connector: def execute_using_pki(self, caport, cahost, subsystemnick, token_pwd, krahost, kraport, critical_failure=False): - command = "/bin/pki -p '{}' -h '{}' -n '{}' -P https -d '{}' -w '{}' "\ - "--ignore-cert-status UNTRUSTED_ISSUER "\ + command = "/bin/pki -p '{}' -h '{}' -n '{}' -P https -d '{}' -c '{}' "\ "kraconnector-del {} {}".format( caport, cahost, subsystemnick, master['pki_database_path'], @@ -2858,11 +2857,11 @@ class security_domain: secadminport = cs_cfg.get('securitydomain.httpsadminport') secselect = cs_cfg.get('securitydomain.select') - command = "/bin/pki -p '{}' -h '{}' -P https -u '{}' -w '{}' "\ - "--ignore-cert-status UNTRUSTED_ISSUER "\ + command = "/bin/pki -p '{}' -h '{}' -P https -u '{}' -w '{}' -d '{}' "\ "securitydomain-get-install-token --hostname {} "\ "--subsystem {}".format( secadminport, sechost, secuser, secpass, + master['pki_database_path'], machinename, cstype) try: output = subprocess.check_output(command, |
