pkispawn fails as it is not able to find openssl as a dependency package
Steps to Reproduce:
1.try to do pkispawn without openssl installed
Actual results:
Failed with below exceptions: pkispawn : INFO ....... mkdir -p /root/.dogtag/TestExternal/ca/alias pkispawn : DEBUG ........... chmod 770 /root/.dogtag/TestExternal/ca/alias pkispawn : DEBUG ........... chown 0:0 /root/.dogtag/TestExternal/ca/alias pkispawn : INFO ....... executing 'certutil -N -d /root/.dogtag/TestExternal/ca/alias -f /root/.dogtag/TestExternal/ca/password.conf' pkispawn : INFO ....... generating CA signing certificate request in /tmp/ca_signing.csr pkispawn : DEBUG ....... Error Type: OSError pkispawn : DEBUG ....... Error Message: [Errno 2] No such file or directory pkispawn : DEBUG ....... File "/usr/sbin/pkispawn", line 528, in main scriptlet.spawn(deployer) File "/usr/lib/python2.7/site-packages/pki/server/deployment/scriptlets/confi guration.py", line 186, in spawn generic_exts=generic_exts) File "/usr/lib/python2.7/site-packages/pki/nssdb.py", line 193, in create_request size=size) File "/usr/lib/python2.7/site-packages/pki/nssdb.py", line 172, in create_noise str(size) File "/usr/lib64/python2.7/subprocess.py", line 537, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib64/python2.7/subprocess.py", line 524, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception Installation failed: [Errno 2] No such file or directory
Expected results:
openssl should be installed before running pkispawn
It should be noted that this issue could not be replicated with a default build, install, and 'pkispawn' invocation on a fresh Fedora 24 VM with no 'openssl' package installed.
Based upon the description, it is surmised that the original test failure may have occurred due to the use of External or Existing CA.
Regardless, an 'openssl' runtime requirement was added to the 'pki-server' package contained within 'pki-core':
Checked into 'master':
Metadata Update from @gkapoor: - Issue assigned to mharmsen - Issue set to the milestone: 10.3.7
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/2598
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.