open-quantum-safe / openssl

UNSUPPORTED Fork of OpenSSL 1.1.1 that includes prototype quantum-resistant algorithms and ciphersuites based on liboqs PLEASE SWITCH TO OQS-Provider for OpenSSL 3
https://openquantumsafe.org/
Other
286 stars 124 forks source link

Unable to extract public key from dilithium certificates #465

Closed sandilya761 closed 10 months ago

sandilya761 commented 10 months ago

I generated a dilithium, falcon and sphincs certificates using commands mentioned in readme file of this repo. I tried extracting public key from the certificate using following commands:

openssl pkcs12 -in cert.pfx -nokeys -out publiccert.pem -nodes
On executing the above mentioned, following is the error:

image