# Re: Keytool import

Jan Luehe (luehe@laguna.eng.sun.com)
Tue, 20 Apr 1999 12:44:57 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Pande, Vivek [IBM GSA]: "Is JCE 1.2 compatible with JDK1.1"
- Previous message: Allen L.: "javacardx.crypto.*"
- Maybe in reply to: Sabine Pham: "Keytool import"

    Message-Id: <199904201944.MAA15789@laguna.eng.sun.com>

    Date: Tue, 20 Apr 1999 12:44:57 -0700 (PDT)

    From: Jan Luehe <luehe@laguna.eng.sun.com>

    Subject: Re: Keytool import

    To: java-security@java.sun.com, spham@atos-group.com

Sabine:

If you add a NEWLINE character after the "-----END CERTIFICATE-----"
boundary in the case of the "RHcert.b64" and "lachaudcert.b64" certificates
(as you have in the case of the "testcert.b64" certificate),
everything will work just fine.

Jan

> I have a problem with the keytool command.
> I can not import a certificate generated by the Netscape certificate
> server.
> There is this error in output : "keytool error: Input not an X.509
> certificate". But it works fine in the browser and some utilities from
> Netscape display it without any problem.
> The first one has some Netscape extensions like certificate usage
> (e-mail and SSL client) and Authority Key Identifier. I thought that it
> might work better without these extensions and created another
> certificate without any extensions but there is still the same result.
> Keytool works fine with another certificate given by another provider. I
> can't see what are the differences.
>
> Here are the certificates for information:
> RHcert.b64, the certificate generated by Netscape certificate server
> with extensions.
> lachaudcert.b64, the certificate generated by Netscape certificate
> server without extensions.
> testcert.b64, the certificate given.
>
> Could you give some lights on these points?
> Thank you very much for your help.
>
> Sabine.
>
> P.S.: I have the jdk1.2.1 version.

- Next message: Pande, Vivek [IBM GSA]: "Is JCE 1.2 compatible with JDK1.1"
- Previous message: Allen L.: "javacardx.crypto.*"
- Maybe in reply to: Sabine Pham: "Keytool import"