Marco Donati wrote:
>
>
> I generate the key, then use it to sign a certificate request (PKCS#10).
> The PKCS#10 is sent to a CA.
> When the certificate is issued by the CA it is downloaded (via LDAP) and
> stored into the original P12 with its key
>
> I need it in PKCS12 for compatibility with onother application.
>
You may create a PKCS12 file without a cert. But I am not sure how well it works
regards with compatibility and not sure whether it will break anything. I
modified the origin p12_crt.c to remove the requiement of a cert. You can see
from the attached file that I just commented out the cert. related code.
--
(~._.~) Öì Ⱥ Ó¢ (Qun-Ying) (65) 874-6743
( O ) TrustCopy Pte Ltd / Kent Ridge Digital Labs
()~*~() 21 Heng Mui Keng Terrace, Singapore 119613
(_)-(_) [EMAIL PROTECTED] * [EMAIL PROTECTED]
p12_crt.c