Re: Creating Certificates.

Jan Luehe (luehe@laguna.eng.sun.com)
Mon, 10 Aug 1998 10:35:52 -0700 (PDT)

Date: Mon, 10 Aug 1998 10:35:52 -0700 (PDT)
From: Jan Luehe <luehe@laguna.eng.sun.com>
Subject: Re: Creating Certificates.
To: java-security@java.Sun.COM, pdhoolia@peritus.com

Pankaj:

> How do I create a self signed certificate using RSA as my 'keyalgo'
> instead of DSA?
>
> - I my security options file I provided the service provider mentioned
> in the JCE1.2.
> - when I run the keytool with keyalgo any thing other than DSA it gives
> an error saying algo is invalid.
>
> Is there a way I can make keytool aware of the keyalgo's like RSA and
> DES which are provided in the JCE1.2 API.

"SunJCE", the provider that comes built in with JCE 1.2, does
not supply an implementation of RSA.
You have to write your own RSA provider.

Jan