Please review the attached patch which addresses:
* PKI TRAC Ticket #1200 - make sure pkispawn works with hsm
<
https://fedorahosted.org/pki/ticket/1200>
The code has been successfully installed and configured on a system
which has an attached LunaSA HSM.
However, due to network issues, I was unable to attach a firefox browser
to verify that a certificate could be enrolled.