On Wed, Apr 29, 2009 at 02:39:27PM +0200, Dr. Stephen Henson wrote:

> 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.

Oops, sorry. Yes, it carries both the key and the corresponding
certificate, not just the key. Too much playing with PKCS#8 recently
dulled the senses... The Microsoft format is almost always DER not PEM.

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to