Hellan,Kim KHE wrote:
> 
> I have a key file and a cert file with one certificate (signed by a CA).
> All I want to do is "combine" these two files in a PKCS#12 file.
> Does anyone know how to perform this relatively "simple" task (which
> functions must be called)?
> 
> I have looked in the pkcs12.c file, but it is not that easily seen through
> since it also deals with cert chains, MAC support and other stuff which I
> don't need.
> 

The FAQ mentions PKCS#12 docs in doc/openssl.txt . If you look in there
you'll see a function called PKCS12_create() which does exactly what you
want.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to