It looks like your SSL certificat is not in the CAS server's JVM cacerts file.

-Scott

On 10/23/06, Ana Ribas Roca < [EMAIL PROTECTED]> wrote:
Hello,

I've installed a CAS Server 3.0.5
My Simple CAS-Authentication without ProxyTicketReceptor works
perfectly and now I was testing the ProxyAuthentication.
I've problems with the credentials of the url call back and no ticket
is being sent.

This is my CAS log:

2006-10-23 13:57:00,473 INFO
[org.jasig.cas.authentication.AuthenticationManagerImpl] -
AuthenticationHandler:
org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully
authenticated the user which provided the following credentials:
ana.ribas
2006-10-23 13:57:00,473 DEBUG
[org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Creating SimplePrincipal for
[ana.ribas]
2006-10-23 13:57:00,477 INFO
[org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service
ticket [ST-4-khkbknHC9M1TbOGqcOippPJW3Ce16oksgFj-20] for service
[ https://absenta.upc.es/example_proxy.php] for user [ana.ribas]
2006-10-23 13:57:00,663 DEBUG
[org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] - Attempting to resolve credentials for
https://absenta.upc.es/example_proxy.php
2006-10-23 13:57:00,733 ERROR
[org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler ] - javax.net.ssl.SSLPeerUnverifiedException: peer not
authenticated
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
         at
com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain (DashoA12275)
         at
org.apache.commons.httpclient.contrib.ssl.StrictSSLProtocolSocketFactory.verifyHostname(StrictSSLProtocolSocketFactory.java:280)
         at
org.apache.commons.httpclient.contrib.ssl.StrictSSLProtocolSocketFactory.createSocket (StrictSSLProtocolSocketFactory.java:223)
         at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
         at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java :386)
         at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
         at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
         at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
         at
org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler.authenticate(HttpBasedServiceCredentialsAuthenticationHandler.java :77)
         at
org.jasig.cas.authentication.AuthenticationManagerImpl.authenticate(AuthenticationManagerImpl.java:79)
         at
org.jasig.cas.CentralAuthenticationServiceImpl.delegateTicketGrantingTicket(CentralAuthenticationServiceImpl.java :194)
         at
org.jasig.cas.web.ServiceValidateController.handleRequestInternal(ServiceValidateController.java:159)
         at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java :153)
         at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
         at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java :798)
         at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:728)
         at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
         at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
         at
org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java :252)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:198)
         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java :104)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at
org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java :102)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at
org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection (Http11Protocol.java:705)
         at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:534)
2006-10-23 13:57:00,735 DEBUG
[org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] - Authentication failed because returned status code was
[500]
2006-10-23 13:57:00,735 INFO
[org.jasig.cas.authentication.AuthenticationManagerImpl] -
AuthenticationHandler:
org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler failed to authenticate the user which provided the following credentials:
https://absenta.upc.es/example_proxy.php
2006-10-23 13:57:00,735 ERROR
[org.jasig.cas.web.ServiceValidateController ] - TicketException
generating ticket for: https://absenta.upc.es/example_proxy.php
org.jasig.cas.ticket.TicketCreationException:
error.authentication.credentials.bad
         at
org.jasig.cas.CentralAuthenticationServiceImpl.delegateTicketGrantingTicket(CentralAuthenticationServiceImpl.java:215)
         at
org.jasig.cas.web.ServiceValidateController.handleRequestInternal (ServiceValidateController.java:159)
         at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle (SimpleControllerHandlerAdapter.java:45)
         at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
         at
org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:728)
         at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
         at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java :350)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at
org.jasig.cas.web.init.SafeDispatcherServlet.service (SafeDispatcherServlet.java:115)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:173)
         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java :104)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at
org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:520)
         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java :104)
         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at
org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection (Http11Protocol.java:705)
         at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:534)
Caused by: error.authentication.credentials.bad
         at
org.jasig.cas.authentication.handler.BadCredentialsAuthenticationException.<clinit>(BadCredentialsAuthenticationException.java :25)
         at
org.jasig.cas.authentication.AuthenticationManagerImpl.authenticate(AuthenticationManagerImpl.java:105)
         at
org.jasig.cas.CentralAuthenticationServiceImpl.delegateTicketGrantingTicket( CentralAuthenticationServiceImpl.java:194)

I don't know what's happening, because the user is successfully authenticated.
Someone knows this error?
Is there any special configuration in the deployerConfigContext.xml file?

Grateful for any suggestion.
Thanks in advance.

- ANNA -

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to