#1524 pkispawn: certutil options incorrect for creating ecc admin certificate
Closed: Fixed None Opened 8 years ago by cfu.

Ran into the following with pkispawn when the system and admin cert are ecc:

pkispawn : ERROR ....... subprocess.CalledProcessError: Command '['certutil', '-R', '-d', '/opt/pki-cfu-ecc3/ca/alias', '-s', 'cn=PKI Administrator,e=caadmin@Example.com,o=pki-cfu-ecc3.org', '-g', 'nistp256', '-z', '/opt/pki-cfu-ecc3/ca/alias/noise', '-f', '/opt/pki-cfu-ecc3/ca/password.conf', '-o', '/opt/pki-cfu-ecc3/ca/alias/admin_pkcs10.bin']' returned non-zero exit status 255!

Two issues I observed:
(1) the key type is not specified; by default, if not specified, rsa is assumed; It needs
-k ec
(2) key curve needs to use "-q" to specify, not "-g" (which is for rsa key size). It needs
-q <key curve>


Pushed to master:

  • f9102b8df60d50e00d2a45915d06837510cfd1aa

Metadata Update from @cfu:
- Issue assigned to mharmsen
- Issue set to the milestone: 10.2.6

7 years ago

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/2083

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata