Currently in the normal mode PKCS12Export does not show any message if there is an error:
$ PKCS12Export -d /var/lib/pki/pki-tomcat/alias \ -p wrong_password.txt -w wrong_password.txt \ -o backup.p12
In the debug mode it will show the exception (still not a proper error message):
$ PKCS12Export -d /var/lib/pki/pki-tomcat/alias \ -p wrong_password.txt -w wrong_password.txt \ -o backup.p12 PKCS12Export debug: The directory for certdb/keydb is /var/lib/pki/pki-tomcat/alias PKCS12Export debug: The password file for keydb is wrong_password.txt PKCS12Export debug: PKCS12Export Exception: org.mozilla.jss.util.IncorrectPasswordException
The command should display a proper error message in the normal mode because people mostly use the normal mode and can be mislead by the lack of error message.
Proposed milestone: 10.2.x
Correction, in the debug mode the command should have been:
$ PKCS12Export -debug -d /var/lib/pki/pki-tomcat/alias \ -p wrong_password.txt -w wrong_password.txt \ -o backup.p12
Per Dogtag 10.2.X meeting of 01/14/2015: Milestone 10.2 Backlog
Fixed in master: 4aa89241e3a0423198cc6dce1f6f193eca74cac6
Metadata Update from @edewata: - Issue assigned to edewata - Issue set to the milestone: 10.2 Backlog
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/1786
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.