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
--
openssl-dev mailing list
To unsubscribe:
https://mta.openssl.org/mailman/listinfo/openssl-dev