I went to the JavaSoft web site to look at the documentation for the keytool
utility. In the how to use it they had -import listed as the first
parameter. They did not have -keyalg listed as one of the options that you
can use with -import. I removed it from the command line and it imported
the certificate.
It seems if I type the following:
keytool -import -trustcacerts -file localhost.cer -storepass secret
it imported the certificate just fine.
Has the documentation worked for other people?
-Jason
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jason Rowland
Sent: Wednesday, June 21, 2000 2:40 PM
To: Orion-Interest
Subject: SSL Certificate generation
I am trying to get my localhost server set up to use SSL. I went to the
Orion web site to the "how to set up a secure site using SSL". I followed
the directions step by step. It appeared to work until the final step in
"creating a keystore with a certificate".
I type this in:
keytool -keystore keystore -keyalg "RSA" -import -trustcacerts -file
localhost.cer
Enter keystore password: secret
This is the error I get:
keytool error: java.lang.Exception: Failed to establish chain from reply
I am using JDK1.3.
Any help would be appreciated!
Thanks,
Jason