-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously if the pki_server_pkcs12_path was not specified the external certs specified in pki_server_external_certs_path would not be imported either. This is incorrect since these parameters are unrelated. To address the issue the code that imports the external certs in PKIDeployer.import_server_pkcs12() has been moved into import_external_certs() which will always be invoked during installation. The update_external_certs_conf() has been merged into this method as well. The PKIInstance.load_external_certs() has been modified to add the external cert using add_external_cert() to avoid creating duplicate entries in the external_certs.conf. The PKIInstance.store_external_certs() has been modified to remove the external_certs.conf if it's empty. In the future the pki_server_external_certs_path param and the pki-server instance-externalcert-* commands might be deprecated and eventually removed since there are other ways to deal with external certs without having to maintain external_certs.conf.
- Loading branch information
Showing
3 changed files
with
35 additions
and
26 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