I figured out where the (lame) bug really was. The password GUI had a non
null-terminated string issue with the password, which worked in some case
and not with this one...
I should slap myself each time I don't check the simple things first, sorry
for the inconvenience guys.
btw I use openssl-0.9
On Wed, Feb 17, 2010, Nicolas Pelloux-Prayer wrote:
> I'm trying to extract the cert/private key pair from a pkcs#12 file using
> the PKCS12_parse method. It works fine for most p12 I used before, then I
> ran into a strange p12 which doesnt work (returned cert & pkey are both
> NULL).
>
[snip]
The output is the same as "openssl pkcs12 -in "User.p12" -info"
Thanks for your response.
Nicolas Pelloux-Prayer
2010/2/17 Ashok Kumar
> I am not sure if you are using the following command. It parses the
> certs & keys.
>
> #openssl pkcs12 -info -nodes -in
>
> Thanks
> -Ashok
>
> On Wed, Feb
I am not sure if you are using the following command. It parses the
certs & keys.
#openssl pkcs12 -info -nodes -in
Thanks
-Ashok
On Wed, Feb 17, 2010 at 9:33 AM, Nicolas Pelloux-Prayer
wrote:
> I'm trying to extract the cert/private key pair from a pkcs#12 file using
> the PKCS12_parse method.