Closed moodygit closed 7 years ago
Hi @opencrypto ,
Could you please help me with my issue. I built libpki from src using this repo.
pki-tool genreq -config /usr/etc/ocspd/pki -outkey /tmp/key.pem -newkey -bits 2048 -subject 'CN=OCSP Server, O=OpenCA, C=US' -out /tmp/req.pem -batch -debug -verbose Loading Token .. Ok. Generating KeyPair /tmp/key.pem ...Sep 22 14:44:41 2017 GMT [20638] INFO: [pki-tool.c:214] [DEBUG] Output URL: /tmp/key.pem Generating new KeyPair ... Sep 22 14:44:42 2017 GMT [20638] ERROR: [openssl_hsm_pkey.c:87] Can not create new key material Error. ERROR, can not create keypair!
Additional info: cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core)
cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core)
openssl version OpenSSL 1.0.2k-fips 26 Jan 2017
If you need more details please live comment.
Regards, Serhii
Hi @massimiliano,
Thank you for your commit(d5a39db). It fix my issue
Hi @opencrypto ,
Could you please help me with my issue. I built libpki from src using this repo.
pki-tool genreq -config /usr/etc/ocspd/pki -outkey /tmp/key.pem -newkey -bits 2048 -subject 'CN=OCSP Server, O=OpenCA, C=US' -out /tmp/req.pem -batch -debug -verbose Loading Token .. Ok. Generating KeyPair /tmp/key.pem ...Sep 22 14:44:41 2017 GMT [20638] INFO: [pki-tool.c:214] [DEBUG] Output URL: /tmp/key.pem Generating new KeyPair ... Sep 22 14:44:42 2017 GMT [20638] ERROR: [openssl_hsm_pkey.c:87] Can not create new key material Error. ERROR, can not create keypair!
Additional info:
cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core)
openssl version OpenSSL 1.0.2k-fips 26 Jan 2017
If you need more details please live comment.
Regards, Serhii