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

 

This means the JVM being used to make a request to a SSL host does not trust 
the certificate provided by that host. Possibly a JVM update would resolve the 
issue as this might come with an updated CA file.

 

*Something* is using SSL.

 

Dale

 

From: Rohit Kotecha [mailto:[email protected]] 
Sent: Monday, 16 December 2013 12:46 a.m.
To: [email protected]
Subject: [cas-user] Twitter Login stops working in PRod with CAS 3.5.2

 

Hi Team,

 

We are successfully running CAS 3.5.2 with authentication with Facebook, 
Google+ and Twitter in prod environment.

and suddenly we are getting below error in our server log file for twitter 
login. Facebook and Google+ is working fine.

 

We didn’t change any setting in prod environment. and we are not using https.

 

Any hint will be greatly appreciated.

 

org.scribe.exceptions.OAuthConnectionException: There was a problem while 
creating a connection to the remote service.

        at org.scribe.model.ProxyRequest.send(ProxyRequest.java:86)

        at org.scribe.model.ProxyOAuthRequest.send(ProxyOAuthRequest.java:43)

        at 
org.scribe.up.addon_to_scribe.ProxyOAuth10aServiceImpl.getRequestToken(ProxyOAuth10aServiceImpl.java:67)

        at 
org.scribe.up.provider.BaseOAuth10Provider.getAuthorizationUrl(BaseOAuth10Provider.java:56)

        at 
org.jasig.cas.support.oauth.web.OAuth10LoginController.handleRequestInternal(OAuth10LoginController.java:55)

        at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

        at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)

        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)

        at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

        at 
org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)

        at 
org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:57)

        at 
org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1)

        at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

        at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

        at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

        at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

        at 
com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)

        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)

        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)

        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)

        at 
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)

        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)

        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)

        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)

        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)

        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)

        at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)

        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)

        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)

        at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)

        at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)

        at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)

        at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)

        at 
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)

        at 
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)

        at 
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)

        at 
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)

        at 
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)

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.getOutputStream(HttpURLConnection.java:904)

        at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)

        at org.scribe.model.ProxyRequest.addBody(ProxyRequest.java:142)

        at org.scribe.model.ProxyRequest.doSend(ProxyRequest.java:124)

        at org.scribe.model.ProxyRequest.send(ProxyRequest.java:84)

        ... 53 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
-**************Nihilent***************
" *** All information contained in this communication is confidential, 
proprietary, privileged
and is intended for the addressees only. If youhave received this E-mail in 
error please notify
mail administrator by telephone on +91-20-39846100 or E-mail the sender by 
replying to
this message, and then delete this E-mail and other copies of it from your 
computer system.
Any unauthorized dissemination,publication, transfer or use of the contents of 
this communication,
with or without modifications is punishable under the relevant law.
 
Nihilent has scanned this mail with current virus checking technologies. 
However, Nihilent makes no 
representations or warranties to the effect that this communication is 
virus-free.
 
Nihilent reserves the right to monitor all E-mail communications through its 
Corporate Network. *** "
 
*************************************************************************-

 


-- 
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