Re: Private keys and PKCS#12

2000-09-26 Thread Dr S N Henson
Marco Donati wrote: > > I've solved my problem and I'd like to thank everybody who wrote me. > > I modified my low level sequence (the code I posted) to build a pkcs12 > bundle with one bag, keeping "shrouded" private key, so i used > PKCS12_MAKE_SHKEYBAG/PKCS12_pack_p7data INSTEAD of > PKCS12_M

Private keys and PKCS#12

2000-09-25 Thread Marco Donati
I've solved my problem and I'd like to thank everybody who wrote me. I modified my low level sequence (the code I posted) to build a pkcs12 bundle with one bag, keeping "shrouded" private key, so i used PKCS12_MAKE_SHKEYBAG/PKCS12_pack_p7data INSTEAD of PKCS12_MAKE_KEYBAG/PKCS12_pack_p7encdata.

Re: Private Keys and PKCS#12

2000-09-25 Thread Dr S N Henson
Marco Donati wrote: > > >PKCS#12 files under OpenSSL are intended to have a key and a matching > > certificate. AFAIK the same is true of Windows and Netscape > > import/export routines. > > yes, but what if you stil have to request it to a CA... > > > What do you want a private key alone in PK

Re: Private Keys and PKCS#12

2000-09-25 Thread zhu qun-ying
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 w

RE: Private Keys and PKCS#12

2000-09-24 Thread Marco Donati
>PKCS#12 files under OpenSSL are intended to have a key and a matching > certificate. AFAIK the same is true of Windows and Netscape > import/export routines. yes, but what if you stil have to request it to a CA... > What do you want a private key alone in PKCS#12 format for? I generate the key