You can use OpenSSL (used to be SSLeay) to generate the certificates and
private keys and inport them using keytool.
David.
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 availableAny suggestion?
-- Wolfgang
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. 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> </html>
>
> --------------9E88724117EF60FB0794BE7B--
> 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.
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
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.
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.