# Keytool import

Sabine Pham (spham@atos-group.com)
Tue, 20 Apr 1999 17:33:17 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Carla Merkle: "How could I find it to use ?"
- Previous message: Shi Yongmei: "A question!"
- Next in thread: Jan Luehe: "Re: Keytool import"

    Date: Tue, 20 Apr 1999 17:33:17 +0200

    From: Sabine Pham <spham@atos-group.com>

    To: "java-security@java.Sun.COM" <java-security@java.Sun.COM>

    Subject: Keytool import

--------------0A36C248B7240672FBF447DE
Content-Type: text/plain; charset="us-ascii"
X-Sun-Content-Length: 1074

Hello,

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.

--------------0A36C248B7240672FBF447DE
Content-Type: application/x-unknown-content-type-WinZip; name="RHcert.b64"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="RHcert.b64"
X-Sun-Content-Length: 1090

LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNKVENDQVk2Z0F3SUJBZ0lCQkRBTkJn
a3Foa2lHOXcwQkFRUUZBREE2TVFzd0NRWURWUVFHRXdKR1VqRU4KTUFzR0ExVUVDaE1FUVhS
dmN6RU1NQW9HQTFVRUN4TURVRk5ETVE0d0RBWURWUVFERXdWTmRYTjVZekFlRncwNQpPREV4
TWpBd09UUXlOVEZhRncwd01EQTFNVE13T1RReU5URmFNSUdDTVFzd0NRWURWUVFHRXdKR1Vq
RU5NQXNHCkExVUVDaE1FUVhSdmN6RU9NQXdHQTFVRUN4TUZUWFZ6ZVdNeEVqQVFCZ29Ka2lh
SmsvSXNaQUVCRXdKU1NERWIKTUJrR0ExVUVBeE1TVFhWemVXTWdVbWxuYUhRZ1NHOXNaR1Z5
TVNNd0lRWUpLb1pJaHZjTkFRa0JGaFJ6Y0doaApiVUJoZEc5ekxXZHliM1Z3TG1OdmJUQmNN
QTBHQ1NxR1NJYjNEUUVCQVFVQUEwc0FNRWdDUVFERmFxUzN5c3ZKCkUxQThaOTdJZ1QvRjhT
ekdpYWxEcGp2aXFLa1F4UHFQRlVPcS9RRS9iRy9zblh1OFhudDFTc1RZMTNzenZkbUkKVFZS
ZldWb0RSUlF0QWdNQkFBR2pOakEwTUJFR0NXQ0dTQUdHK0VJQkFRUUVBd0lBb0RBZkJnTlZI
U01FR0RBVwpnQlI0VFRVYVlLbnJLOUpZRVM4Nkc2bGdnVC9hK1RBTkJna3Foa2lHOXcwQkFR
UUZBQU9CZ1FBUlhFWjMxSHhiCkhVTjcva2JpWkUxNzZFWUtrakU3Vldzc053SFF6Rkg4bTlj
WTljUUczRTJ2QVlvUm8yclRjZ2grb1RaQkZpcXQKOXE0ZCs1dWV0WU9NVUMyL1ltdkQrMGp6
K0Z6aGRWbm9jd3pod0pGSFNnM3ZHVS91QXNTbWVUZU50Z1UzNnFudgpNLzVTZXltdDZ1RTEw
YjZZd3dKOHh2VzUyNGVYMzR6NzdBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ==
--------------0A36C248B7240672FBF447DE
Content-Type: application/x-unknown-content-type-WinZip; name="lachaudcert.b64"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="lachaudcert.b64"
X-Sun-Content-Length: 985

LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlCNURDQ0FVMENBUWd3RFFZSktvWklo
dmNOQVFFRUJRQXdPakVMTUFrR0ExVUVCaE1DUmxJeERUQUxCZ05WDQpCQW9UQkVGMGIzTXhE
REFLQmdOVkJBc1RBMUJUUXpFT01Bd0dBMVVFQXhNRlRYVnplV013SGhjTk9Ua3dOREl3DQpN
VFF4T1RNd1doY05NREF4TURFeE1UUXhPVE13V2pCL01Rc3dDUVlEVlFRR0V3SkdVakVOTUFz
R0ExVUVDaE1FDQpRVlJQVXpFTU1Bb0dBMVVFQ3hNRFVGTkRNUlV3RXdZS0NaSW1pWlB5TEdR
QkFSTUZjM0JvWVcweEZ6QVZCZ05WDQpCQU1URGxOaFltbHVaU0JNWVdOb1lYVmtNU013SVFZ
SktvWklodmNOQVFrQkZoUnpjR2hoYlVCaGRHOXpMV2R5DQpiM1Z3TG1OdmJUQmNNQTBHQ1Nx
R1NJYjNEUUVCQVFVQUEwc0FNRWdDUVFERDRqY2lDMnlMMy9kOHlOcUpWdUF3DQp3OFVwNGZ0
ckNuVzNiclRGZ3RJL3l0QTV1QzhlQUw3dFVDbm9tRjBBbWNQU1djckpTS283ckxWYlB1ZWlR
S3d2DQpBZ01CQUFFd0RRWUpLb1pJaHZjTkFRRUVCUUFEZ1lFQXdkVWVzaFFMeGh6b1NnUnZr
LzRsQy9VSTNQdXBMR0xoDQpVd1VCcE1tUW9tWlJ2dHpwZWRUMWxETWcvUks2TEYzWUZ0S0tI
cGU5SGhjV0x2Qk14akRMMjlZSUdPcUpqdVNBDQpoc25LUVRlN01JZGYzVWVva1ozenNjdVlh
MnpoYzNhSERwbW9sd1d3Y2VZODQyWndGNmhON3JLYlRjeWNMalFHDQoyNUtPK2xtQ1FpST0N
Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
--------------0A36C248B7240672FBF447DE
Content-Type: application/x-unknown-content-type-WinZip; name="testcert.b64"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="testcert.b64"
X-Sun-Content-Length: 1322

LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNwVENDQWc0Q0FRRXdEUVlKS29aSWh2
Y05BUUVF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rTGhmL3dhSEp4RkxLYmpFMXEvUkFPc1RSYTVOejhP
cEpodlYzdHEKQVV1NFBheWZXZFBqazd3SDVGNWF2Y09yYnoxN2pvcmsxQlJJZGRvYmJ3R3NI
dWpPQk5MKzRBNkZ4RFpDRDl1VgpURm5uTjU3SHBaUFMKLS0tLS1FTkQgQ0VSVElGSUNBVEUt
LS0tLQo=
--------------0A36C248B7240672FBF447DE--

- Next message: Carla Merkle: "How could I find it to use ?"
- Previous message: Shi Yongmei: "A question!"
- Next in thread: Jan Luehe: "Re: Keytool import"