From: "Bill Vanyo" <wvanyo@syndata.com>
To: "Seema Bandyopadhyay" <seema@ecn.purdue.edu>
Subject: Re: java keytool & RSA keys with IAIK provider
Date: Tue, 13 Jul 1999 17:28:30 -0400
Thanks anyway, and if you are still interested, I have found one solution
(or workaround).
(I am also CCing this to Sun in case they can shed any light on this often
reported problem)
In the jre\lib directory there is a file named rt.jar
Make a copy of it, rename it to rt.zip, then use WinZip to remove the file
KeyTool.class
Then run it using java. You have to specify the package. For instance:
java sun.security.tools.KeyTool -genkey -keyalg RSA -keysize 1024 (whatever
other params...)
This seems to work, even though:
keytool -genkey -keyalg RSA -keysize 1024 (same other params...)
always fails with "KeyPairGenerator not available"
Bill Vanyo
Software Engineer
(201) 836-6200 ext. 1113
wvanyo@syndata.com
SynData Technologies, Inc.
500 Frank W. Burr Blvd.
Teaneck, NJ 07666
www.syncrypt.com
-----Original Message-----
From: Seema Bandyopadhyay <seema@ecn.purdue.edu>
To: Bill Vanyo <wvanyo@syndata.com>
Date: Tuesday, July 13, 1999 3:01 PM
Subject: Re: java keytool & RSA keys with IAIK provider
>No, actually I could not solve it. Sorry for not being able to help you.
>
>Thanks,
>Seema.
>
>>
>> Hi. Sorry for the intrusion, but I read your recent post in the Sun java
>> forum.
>>
>> I am currently having the very same problem: I am using the Entrust java
>> toolkit, which includes the IAIK provider. I have the providers
registered
>> in the java.security file, but when I try to use keytool to generate a
key
>> pair with -keyalg RSA, I get "KeyPairGenerator not available".
>>
>> I've noticed that others have reported this problem, but I can't seem to
>> find the solution.
>>
>> I would be most appreciative if you could tell me if you have solved this
>> problem, and if so, how?
>>
>> Thanks, Bill Vanyo
>>
>>
>>