# keytool and .p12 certificate files

Mitch Gart (mgart@netegrity.com)
Fri, 6 Aug 1999 13:39:14 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Matthew Meyer: "Downloading Help"
- Previous message: Sita Surapaneni: "JCE1.2"

    From: Mitch Gart <mgart@netegrity.com>

    To: "'java-security@java.sun.com'" <java-security@java.sun.com>

    Subject: keytool and .p12 certificate files

    Date: Fri, 6 Aug 1999 13:39:14 -0400

Keytool doesn't seem to work with .p12 cert files.

keytool -import -file x.p12
keytool -printcert -file x.p12

both fail with syntax errors. Keytool does seem to work
with .p7b and .cer format files.

This seems ironic because Netscape Navigator exports certs
as .p12 files, Internet Explorer exports them as .cer or
.p7b files. And supposedly Sun is allied with Netscape and
at war with Microsoft, or something like that. Why doesn't
keytool work with .p12 formats? Thanks in advance,

- Mitch
- mgart at netegrity dot com

- Next message: Matthew Meyer: "Downloading Help"
- Previous message: Sita Surapaneni: "JCE1.2"