Hey everyone its your favorite poster! :) 

I'm setting up Alfresco to auth with CAS and i have added all the required 
CERTS into the cacerts, I've got CAS server already validating agianst AD, I've 
got alfresco up and running on its own. 
I changed the filters in alfresco to use cas for authing. When i go to the 
alfresco login page it redirects me to CAS and if i enter the incorrect user 
info, it'll tell me that the user isn't valid. When i enter hte correct info, 
however, it gives me the below error. The cas.log doesn't show any errors, this 
is from the alfresco tomcat logs. I've searched online and have completed all 
suggestions of certificaiton issues, adding the ip's to the 
system32/drivers/etc/hosts file, checking ports, etc etc.... does anyone else 
have any suggestions? this is driving me insane! Thanks all for your patients 
and kindness!


edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate 
ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator 
proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator 
casValidateUrl=[https://122.143.4.205:8443/cas/serviceValidate] 
ticket=[ST-1-ZmikwgPnKzVwXBM6eHGz-cas] 
service=[http%3A%2F%2F122.143.4.202%3A8080%2Falfresco%2Ffaces%2Fjsp%2Flogin.jsp]
 renew=false]]]
caused by:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: 
PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
caused by:
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
caused by:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
Hide Details


edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate 
ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator 
proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator 
casValidateUrl=[https://122.143.4.205:8443/cas/serviceValidate] 
ticket=[ST-1-ZmikwgPnKzVwXBM6eHGz-cas] 
service=[http%3A%2F%2F122.143.4.202%3A8080%2Falfresco%2Ffaces%2Fjsp%2Flogin.jsp]
 renew=false]]] 
at edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:52) 
at 
edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:455)
 
at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:378) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 
at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
 
at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
 
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) 
at java.lang.Thread.run(Thread.java:619) 
Caused by: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target 
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) 
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1623) 
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:198) 
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:192) 
at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1074)
 
at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:128)
 
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:529) 
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:465) 
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884) 
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1120)
 
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1147)
 
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1131)
 
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434) 
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
 
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
 
at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
 
at edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:84) 
at 
edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:212)
 
at edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:50) 
... 14 more 
Caused by: sun.security.validator.ValidatorException: PKIX path building 
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target 
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:325) 
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:219) 
at sun.security.validator.Validator.validate(Validator.java:218) 
at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
 
at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
 
at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
 
at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1053)
 
... 28 more 
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target 
at 
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
 
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238) 
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:320) 
... 34 more 


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to