If my password is the following autogenerated password:
hsqLLkjaZyfw0QlCmrnYdYXTzH3bGDeF-_%=_-_@%%_++-%%-=%_-%@-_==+%%+%
Running the following command:
pki -d ~/.dogtag/pki-tomcat/ca/alias -C ~/.dogtag/pki-tomcat/ca/password.conf -n 'caadmin' cert-find
Results in the following output:
Error: Incorrect client security database password.
If I do not use -C and instead copy and paste the password in at the prompt, everything works as expected and I receive the certificate list.
-C
Expected Result: Any valid password, regardless of content, should work when read from a password file.
Metadata Update from @mharmsen: - Custom field component adjusted to None - Custom field feature adjusted to None - Custom field origin adjusted to None - Custom field proposedmilestone adjusted to None - Custom field proposedpriority adjusted to None - Custom field reviewer adjusted to None - Custom field type adjusted to None - Custom field version adjusted to None - Issue set to the milestone: 0.0 NEEDS_TRIAGE
Fixed in master branch:
See also http://www.dogtagpki.org/wiki/PKI_CLI_Authentication#PKI_10.6.0_or_later
Metadata Update from @edewata: - Issue close_status updated to: fixed - Issue set to the milestone: 10.6.0 (was: 0.0 NEEDS_TRIAGE) - Issue status updated to: Closed (was: Open)
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/3031
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.
Login to comment on this ticket.