On Wed, Apr 29, 2009, Victor Duchovni wrote:

> On Tue, Apr 28, 2009 at 01:48:20PM -0700, Govinda Rajulu wrote:
> 
> > I am writing an application that uses openssl, I will be getting certificate
> > in PFX format, I need to convert it from PFX to PEM format before using.
> > 
> > Is there any API  available to convert certificate from PFX to PEM format.
> 
>     PFX == PKCS#8
> 

Erm... no PFX == PKCS#12 at least it is treated like that now: it wasn't
originally.

And to the OP... look at demos/pkcs12/pkread.c for an example.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to