example doesn't work?

John Fleming (john.fleming@altavista.digital.com)
Thu, 23 Apr 1998 08:52:06 -0500

Message-Id: <353F4786.AF8E6E9C@altavista.digital.com>
Date: Thu, 23 Apr 1998 08:52:06 -0500
From: John Fleming <john.fleming@altavista.digital.com>
To: java-security@web4.javasoft.com,
Subject: example doesn't work?

Is there a missing step in the example at
http://java.sun.com/security/usingJavakey.html?
When I get to the part where it says:

4.Generate a certificate

% javakey -gc cert_directive

I created my own cert_directive file called tunman98.cert and did the
command:

javakey -gc tunman98.cert

It came back with:

no signer avt found in the database.

Any idea what I need to do to get it to work?
Thanks for any pointers.
Regards,
John Fleming
john.fleming@altavista.digital.com

I'm on Windows NT 4.0
Here's the tunman98.cert file:
#
# This is the tunman98 certificate directive file.
#

# the id of the signer

issuer.name=avt

# the cert to use for the signing (this is where it gets it DN)

issuer.cert=1

# the id of the subject

subject.name=avt

# the components of the X500 name for the subject

subject.real.name=AltaVista Tunnels Engineering
subject.org.unit=AltaVista
subject.org=Digital Equipment Corp
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=1 Apr 1998
end.date=1 Sept 2008
serial.number=1001
out.file=avt.x509