1. convert the private key and certificate files from PEM ascii format
to a .p12 file using openssl
2. import the .p12 file into the iPlanet database using pk12util
But when I run openssl with:
/usr/local/ssl/bin/openssl pkcs12 -export -out mytestssl.p12 -in
./mytest.key -name "mytestssl"
I get this error:
14236:error:06074079:digital envelope
routines:EVP_PBE_CipherInit:unknown pbe
algorithm:evp_pbe.c:89:TYPE=pbeWithSHA1And40BitRC2-CBC
14236:error:23077073:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 algor
cipherinit error:p12_decr.c:82:
14236:error:2306C067:PKCS12 routines:PKCS12_i2d_encrypt:encrypt
error:p12_decr.c:179:
14236:error:23073067:PKCS12 routines:PKCS12_pack_p7encdata:encrypt
error:p12_add.c:175:
Running "openssl version" gives: OpenSSL 0.9.8b 04 May 2006
Any ideas? I tried using the iPlanet manager but it requires that the
certificate was also requested from its own database and that is not
the case. And it has no provision to import a private key along with
the certificate.
Paul K