Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously the ClonesConnectivyAndDataCheck.check_kra_clones() was trying to check KRA clone status by retrieving a key using the subsystem cert. This operation did not work since the user associated with the cert did not have access to the keys. The code has been changed to get the status from GetStatus service instead. The original code might be moved into IPA later so it could run with IPA's RA agent credentials which would allow access to the keys. Previously the ClonesPlugin.contact_subsystem_using_sslget() used sslget to call GetStatus service and returned the entire output which was then incorrectly processed in XML format. The method has been renamed to get_status() and changed to use PKIConnection and process the response in either JSON or XML format, then only return the subsystem status. All callers have been updated accordingly. The ClonesPlugin.contact_subsystem_using_pki() is no longer used so it has been removed.
- Loading branch information
Showing
3 changed files
with
91 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters