# Re: Keytool Problem

Jan Luehe (luehe@laguna.eng.sun.com)
Fri, 15 Jan 1999 15:23:30 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: candi19@mako.netlink.co.nz: "I think your going to like this"
- Previous message: Godfrey DiGiorgi: "Re: FW: Obtaining javacard.crypto/security packages"
- Maybe in reply to: Brian Paul Rickabaugh: "Keytool Problem"

Brian:

JDK 1.2 does not include support for RSA by default.
In order for the command below to work, you need to
install a Cryptographic Service Provider that
supports RSA signatures.

You can either write your own provider or license a
commercial one (e.g., JSAFE from RSA Data Security, Inc.).

See

http://java.sun.com/products/jdk/1.2/docs/guide/security/HowToImplAProvider.html

for information about how to write your own provider.

See

http://java.sun.com/products/jdk/1.2/docs/guide/security/CryptoSpec.html#Provide
rInstalling

for information about how to install a provider.

Jan

> I'm trying to use the following command:
>
> keytool -genkey -alias xxx -keysize 1024 -keyalg "RSA" -keystore
> xxx -storepass xxx -v
>
> It isn't working. It produces this message:
>
> keytool error: KeyPairGenerator not available
>
> This message, I assume is related to the fact that I'm using the "RSA"
> keyalg as I do not get this message when I try "DSA". Why isn't this
> working. I cannot find any documentation relating to this error.
>
> Thanks,
>
> Brian
>

- Next message: candi19@mako.netlink.co.nz: "I think your going to like this"
- Previous message: Godfrey DiGiorgi: "Re: FW: Obtaining javacard.crypto/security packages"
- Maybe in reply to: Brian Paul Rickabaugh: "Keytool Problem"