Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Generate RSA keys with keytool

838 views
Skip to first unread message

Bruno Ramada

unread,
Jan 27, 1999, 3:00:00 AM1/27/99
to
Can i generate certificates with RSA algorithm. I tried using keytool but it
doesnt alow it: How can I do this ?

David Taylor

unread,
Jan 28, 1999, 3:00:00 AM1/28/99
to

> Can i generate certificates with RSA algorithm. I tried using keytool but it
> doesnt alow it: How can I do this ?

You can use OpenSSL (used to be SSLeay) to generate the certificates and
private keys and inport them using keytool.

David.

Wolfgang Korn

unread,
Feb 18, 1999, 3:00:00 AM2/18/99
to
Hi there,

I'm having the same problem. But the solution described above doesn't work either.  Trying to import an RSA
certificate I get the following error from keytool:

keytool error: Signature not available
Any suggestion?

-- Wolfgang
 

Roland Schemers

unread,
Feb 18, 1999, 3:00:00 AM2/18/99
to
You need to install JCE 1.2 and a provider that supports RSA, like
J/Safe from RSA.

roland

Wolfgang Korn <wolfga...@schumann-ag.de> writes:
> --------------9E88724117EF60FB0794BE7B
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit

> --------------9E88724117EF60FB0794BE7B
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> David Taylor wrote:
> <blockquote TYPE=CITE>> Can i generate certificates with RSA algorithm.


> I tried using keytool but it

> <br>> doesnt alow it: How can I do this ?
> <p>You can use OpenSSL (used to be SSLeay) to generate the certificates
> and
> <br>private keys and inport them using keytool.
> <p>David.</blockquote>
> Hi there,
> <p>I'm having the same problem. But the solution described above doesn't
> work either.&nbsp; Trying to import an RSA
> <br>certificate I get the following error from keytool:
> <pre>keytool error: Signature not available</pre>
> Any suggestion?
> <p>-- Wolfgang
> <br>&nbsp;</html>
>
> --------------9E88724117EF60FB0794BE7B--

DavidTaylor

unread,
Feb 19, 1999, 3:00:00 AM2/19/99
to
Wolfgang Korn wrote:

> I'm having the same problem. But the solution described above doesn't
> work either. Trying to import an RSA
> certificate I get the following error from keytool:
>
> keytool error: Signature not available
>
> Any suggestion?

If you're using Java 2, install a provider that gives RSA signatures.
The Forge provider (www.forge.com.au) gives RSA-MD5 signature, but not
RSA-SHA signatures.

You'll need to modify the java.security file under the jdk or jre lib
directory. Add the provider there and the keytool should find it.

David.

Wolfgang Korn

unread,
Feb 19, 1999, 3:00:00 AM2/19/99
to
DavidTaylor wrote:

That is what I did. I installed the Forge provider, added a line to my
java.security file saying
security.provider.2=au.com.forge.provider.ForgeProvider and included
forge.jar and snacc.jar
into my CLASSPATH. But keytool still stops with the above error message.

-- Wolfgang


DavidTaylor

unread,
Feb 22, 1999, 3:00:00 AM2/22/99
to
> That is what I did. I installed the Forge provider, added a line to my
> java.security file saying
> security.provider.2=au.com.forge.provider.ForgeProvider and included
> forge.jar and snacc.jar
> into my CLASSPATH. But keytool still stops with the above error message.

As Roland wrote, you also need the JCE (which I assumed you had). If not, you
can get a free one that works with the Forge Provider at www.aba.net.au.

David.

Wolfgang Korn

unread,
Feb 22, 1999, 3:00:00 AM2/22/99
to
DavidTaylor wrote:

I installed the ABA JCE before using the Forge Provide as described in the ABA
JCE documentation. I edited java.security and added jce.zip to my CLASSPATH. But
something still must be wrong. Neither is it possible to generate RSA
certificates nor to import them.


0 new messages