javakey error

Steve Riedler (steverex@evergreen.com)
Thu, 19 Feb 1998 20:06:28 -0700

Date: Thu, 19 Feb 1998 20:06:28 -0700
From: Steve Riedler <steverex@evergreen.com>
To: java-security@web2.javasoft.com
Subject: javakey error

Hello,

I was trying to generate public and private keys for a signer and I've
run into some trouble. Here is the sequence entered at the
command line. I'm on a SPARCstation 4 running Solaris 2.6.

ocotillo% javakey -cs steverex true
Created identity [Signer]steverex[identitydb.obj][trusted]
ocotillo% javakey -gk steverex DSA 1024
IOException trying to save the database.[write error]
ocotillo% javakey
could not initialize scope

It's placing the database(identitydb.obj) in my home directory also. Is
that correct?

Any idea why an IOException occurred and why javakey couldn't find scope
afterwards?

Please help.

Thanks in advance.

Steve

-- 
Steve Riedler			steverex@evergreen.com
Software Developer		Evergreen Internet
(602)926-4500x241		http://www.cybermart.com

Date: Fri, 20 Feb 1998 09:29:56 -0700 From: hemma prafullchandra <Hemma.Prafullchandra@Eng> MIME-Version: 1.0 To: Steve Riedler <steverex@evergreen.com> Subject: Re: javakey error Content-Transfer-Encoding: 7bit > It's placing the database(identitydb.obj) in my home directory also. Is > that correct? > > Any idea why an IOException occurred and why javakey couldn't find scope > afterwards?

Hmmm, just of the top of my head - is your umask set that new files created are set to read only ?

It creates the identitydb.obj in your home dir.

So in your case, after: ocotillo% javakey -cs steverex true Created identity [Signer]steverex[identitydb.obj][trusted]

check what the permission is on the database.

hemma