[openssl-dev] PKCS12_Parse() no longer extract certificate
Michel
michel.sales at free.fr
Thu Feb 11 22:07:25 UTC 2016
Hi,
I have a test program which is failing using version 1.1 because
PKCS12_Parse() doesn't return the certificate, just the key. No error is
signaled.
I supposed it is not intended. Is it work in progress ?
I looks the same with the command line :
with 1.0.2 :
openssl pkcs12 -in Certificate.p12 -clcerts
Enter Import Password:
MAC verified OK
Bag Attributes
localKeyID: 6E D1 .
subject=/CN=PubKeySign Test/C=FR
issuer=/CN=PubKeySign Test/C=FR
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
Bag Attributes
localKeyID: 6E D1 .
Key Attributes: <No Attributes>
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----BEGIN ENCRYPTED PRIVATE KEY-----
...
-----END ENCRYPTED PRIVATE KEY-----
1.1 :
c:\OpenSSL_11_dbg\bin\openssl pkcs12 -in Certificate.p12
Enter Import Password:
Bag Attributes
localKeyID: 6E D1 .
Bag Attributes
localKeyID: 6E D1 .
Key Attributes: <No Attributes>
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----BEGIN ENCRYPTED PRIVATE KEY-----
...
-----END ENCRYPTED PRIVATE KEY-----
Regards,
Michel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160211/83c6e287/attachment.html>
More information about the openssl-dev
mailing list