PKCS12_parse() fails (0.9.8.)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

PKCS12_parse() fails (0.9.8.)

milan tomic-3
PKCS12_parse() fails (0.9.8.)

PKCS12_parse() fails (returns 0) in my case, although PKCS12_verify_mac() succeed (return 1).

I have tried to export cert & key into .pfx file in two ways:
- using Internet Explorer GUI,
- using java's keytool.

but still the same. What should I do? :(

Reply | Threaded
Open this post in threaded view
|

RE: PKCS12_parse() fails (0.9.8.)

milan tomic-3
Message
 
Can someone give me a hand with this problem? :)
 
 
-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Milan Tomic
Sent: Monday, July 18, 2005 1:20 PM
To: [hidden email]
Subject: PKCS12_parse() fails (0.9.8.)


PKCS12_parse() fails (returns 0) in my case, although PKCS12_verify_mac() succeed (return 1).

I have tried to export cert & key into .pfx file in two ways:
- using Internet Explorer GUI,
- using java's keytool.

but still the same. What should I do? :(

Reply | Threaded
Open this post in threaded view
|

Re: PKCS12_parse() fails (0.9.8.)

Nils Larsch
In reply to this post by milan tomic-3
Milan Tomic wrote:
>
> PKCS12_parse() fails (returns 0) in my case, although
> PKCS12_verify_mac() succeed (return 1).
>
> I have tried to export cert & key into .pfx file in two ways:
> - using Internet Explorer GUI,
> - using java's keytool.
>
> but still the same. What should I do? :(

does ERR_print_errors give you more information ?

Nils

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: PKCS12_parse() fails (0.9.8.)

Dr. Stephen Henson
In reply to this post by milan tomic-3
On Tue, Jul 19, 2005, Milan Tomic wrote:

>  
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Milan Tomic
> Sent: Monday, July 18, 2005 1:20 PM
> To: [hidden email]
> Subject: PKCS12_parse() fails (0.9.8.)
>
>
>
>
> PKCS12_parse() fails (returns 0) in my case, although
> PKCS12_verify_mac() succeed (return 1).
>
> I have tried to export cert & key into .pfx file in two ways:
> - using Internet Explorer GUI,
> - using java's keytool.
>
> but still the same. What should I do? :(
>

What happens when you use the pkcs12 utility on the file? For example:

openssl pkcs12 -in file.pfx -out file.pem

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]