Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkispawn: certutil options incorrect for creating ecc admin certificate #2083

Closed
pki-bot opened this issue Oct 3, 2020 · 3 comments
Closed
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #1524. Originally filed by cfu (@cfu) on 2015-07-29 01:11:25:


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

@pki-bot pki-bot added this to the 10.2.6 milestone Oct 3, 2020
@pki-bot pki-bot closed this as completed Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-07-29 05:18:20

Pushed to master:

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-08-10 18:48:55

Modified in 10.2.6-4.

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from cfu (@cfu) at 2017-02-27 14:07:09

Metadata Update from @cfu:

  • Issue assigned to mharmsen
  • Issue set to the milestone: 10.2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant