Missing "--token-password" in pki-server instance-externalcert-add / del command.
If token is NHSM6000 then it is ask for password. It is hard to automate.
Steps to Reproduce:
pki-server instance-externalcert-del -i RootCA --nickname "RootCaCert" --token NHSM6000
Actual results:
Prompting for NHSM6000 password.
Expected results:
Provide --token-password option. It should not prompt for password.
Per PKI Bug Council of 06/23/2016: 10.3.4
This seems to be the same problem as described in ticket #2384. The proper fix is to use the hardware- prefix to get the HSM password from the password.conf.
Metadata Update from @akahat@redhat.com: - Issue assigned to edewata - Issue set to the milestone: 10.3.4
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/2502
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.