%JAVA_HOME%\bin\keytool -delete -alias tomcat -keypass changeit
In this above command, where should i mention the old "server.crt"
or is just executing the above command is enough?
Because i run these 4 commands anyway and still get the error.
keytool -delete -alias tomcat -keypass changeit
keytool -genkey -alias tomcat -keypass changeit -keyalg RSA
keytool -export -alias tomcat -keypass changeit -file server3.crt
keytool -import -file server3.crt -keypass changeit -keystore
D:/bea/jdk142_05/jre/lib/security/cacerts
Thanks
Scott Battaglia <[EMAIL PROTECTED]> wrote: You'll need to delete your old
certificate first using something like the following (though it will need to be
changed for your environment):
%JAVA_HOME%\bin\keytool -delete -alias tomcat -keypass changeit
-Scott
On 6/29/07, sriram purushothaman <[EMAIL PROTECTED]> wrote:
Hi
I am following this URL to generate the SSL certificate to be used with CAS.
http://www.ja-sig.org/wiki/display/CAS/Solving+SSL+issues
I got a server.crt and it is in "D:\bea\jdk142_05\bin". This certificate is
added to my cacerts in "D:\bea\jdk142_05\jre\lib\security"
I wrongly gave my name "Sriram Purushothaman" for the "first name and last
name" question.
Now, i am trying to generate a new certificate using "localhost" as "first name
and last name" and retaining the same answer for other questions.
I have deleted the earlier "server.crt" and my attempt to import the new
"server3.crt" is failing because of this below exception
> keytool -import -file server3.crt -keypass changeit -keystore
> D:/bea/jdk142_05/jre/lib/security/cacerts
> Enter keystore password: changeit
> keytool error: java.lang.Exception: Certificate not imported, alias <mykey>
> already exists
Can you please help?
Thanks
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
---------------------------------
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas