Currently the pki_subsystem contains the subsystem name/type in upper case (e.g. CA) which then will be converted to lower case (e.g. ca) for use in various paths. The lower case conversion prevents it to be used in interpolation.
For example, the following path has to be defined in the code:
config.pki_master_dict['pki_subsystem_path'] =\ os.path.join(config.pki_master_dict['pki_instance_path'], config.pki_master_dict['pki_subsystem'].lower())
Suppose we have separate parameters for the subsystem name and subsystem type, for example:
Now the path can be defined with interpolation:
pki_subsystem_path=%(pki_instance_path)s/%(pki_subsystem_type)s
5ad8e0be1232bd30d3149eaa3ba70a5447e4cbb1
Metadata Update from @edewata: - Issue assigned to vakwetu - Issue set to the milestone: 10.0.1
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/1007
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.