This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
1.I enable the SSL for my Tomcat 5.5 just uncomment the SSL configuration in the %catalina_home%\conf\server.xml.
2.Make a new self-assign credential %java_home%\bin\keytool -genkey -alias tomcat -keyalg RSA password is "changeit" and input "localhost" for the first&last name then %java_home%\bin\keytool -export -alias tomcat -file server.crt then %java_home%\bin\keytool -import -file server.crt -keystore %java_home%/jre/lib/security/cacerts after complete all above, I open my IE and input "https://localhost:8443" for test.it's look fine because I see the tomcat welcome page clearly.
3.I copy the cas-server-3.0.2\cas-server-3.0.2\target\cas.war file to %catalina_home%\webapps.
4.put the cas-client-java-2.1.1\dist\casclient.jar into %catalina_home%\common\lib.
5.Modified the %catalina_home%webapps\servlets-examples\WEB-INF\web.xml to add the CAS filter,like this:
6.start up my Tomcat,everything seems OK then I access the page https://localhost:8443/servlets-examples the CAS filter redirect me to the CAS login screen,The default authenticator simply requires me to enter the same string for both the username and password,so I enter "aa" for both the username and password then click the login button. after that the CAS should redirect me to the servlet-exaxmlple but it doesn't,the only thing I can see is "can not find the server, cannot open this page".
Could you please tell me if any thing i did wrong? what can i do to deal with the problem?
thank you very much!!
li lei from China [ December 22, 2005: Message edited by: lei li ]