Re: I am having trouble creating a certificate with 1.1 beta3...

Marianne Mueller (mrm@doppio)
Thu, 6 Feb 1997 21:24:36 -0800

Date: Thu, 6 Feb 1997 21:24:36 -0800
From: mrm@doppio (Marianne Mueller)
Message-Id: <199702070524.VAA17887@puffin.eng.sun.com>
To: kents@ti.com
Subject: Re: I am having trouble creating a certificate with 1.1 beta3...

--8af_fcc-690c_2011-2d87_1946
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: DMRz/kNXKcygeHA1cruwLw==
X-Sun-Data-Type: text

The following cert file works correctly for me on a PC when I tried
it with JDK1.1 beta3. I'm not sure why you got unknown certificate
error, that seems odd. Are you using the commands as laid out in
http://java.sun.com/security/usingJavakey.html? I hope our rapidly
evolving docs aren't the problem ... you want to

1. create an identity
% javakey -cs ti true
2. generate key pair
% javakey -gk ti DSA 512
3. generate cert
% javekey -gc cert_directive_ti

Marianne
--8af_fcc-690c_2011-2d87_1946
Content-Type: application/octet-stream; name=cert_directive_Duke
Content-Transfer-Encoding: 7bit
Content-MD5: 17ca64nBJ3cbiY2QgR8TRA==
Content-Description: cert_directive_Duke
Content-Disposition: attachment; filename=cert_directive_Duke

# This is a sample certificate directive file.

# the id of the signer
issuer.name=Duke

# the cert to use for the signing
issuer.cert=1

# the id of the subject
subject.name=Duke

# the components of the X500 name for the subject
subject.real.name=Duke
subject.org.unit=JavaSoft
subject.org=Sun MicroSystems
subject.country=US

# Various parameters: start and end date for validity and expiration
# of the certificate. Serial number. FIle to which to output the
# certificate (optional).
start.date=17 Jan 1997
end.date=16 Jan 1998
serial.number=1001
out.file=Duke.x509
--8af_fcc-690c_2011-2d87_1946--