thanks very much! "Jean-Marc Desperrier" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > John wrote: > > [...] First I > > used keytool to export the a specific alisa in keystore in storetype pkcs12. > > Then I used both pk12util [...] for import this pkcs12 file. > > [...] In case pk12util, import fails. > > It should have worked. > Try to import that pkcs12 in windows, don't forget to click to allow > private key export when asked, and then to reexport it again as a new > pkcs12, and try to import that one.
when i import that supposed-to-be p12 file in ie, it shows no private key. so it confirmed my previous statement. keytool cannot generate right p12 file. that's the problem. > It happens that they are subtles difference in the pkcs12 created by > various software, and that a pkcs12 exported by one doesn't work in the > other. > > > What's the right way? When use java keytool exports pkcs12 file, does it > > contains private key. Some source says difference. > > The pkcs12 created by keytool always include the private key. _______________________________________________ mozilla-crypto mailing list mozilla-crypto@mozilla.org http://mail.mozilla.org/listinfo/mozilla-crypto