It looks like you need to make sure that the certificate used for your CAS 
install is imported into your Java cacerts certificate store.  To do this:- 
Locate the cacerts file.  It will be in the Java install directory, under 
lib/security/cacerts- Get either the CAS server certificate or the root 
certificate that signed the server certificate for the CAS server.- Import the 
certificate with keytool: keytool -import -trustcacerts -keystore 
/path/to/jre/lib/security/cacerts -file /path/to/server/cert.pem -alias 
ServerCert
Then restart Tomcat and give it a shot.
-Nick

On Friday, August 4, 2017, 6:59:36 AM EDT, 张建平 <[email protected]> 
wrote:

<!--#yiv2706307876 _filtered #yiv2706307876 {font-family:宋体;panose-1:2 1 6 0 3 
1 1 1 1 1;} _filtered #yiv2706307876 {font-family:"Cambria Math";panose-1:2 4 5 
3 5 4 6 3 2 4;} _filtered #yiv2706307876 {font-family:Calibri;panose-1:2 15 5 2 
2 2 4 3 2 4;} _filtered #yiv2706307876 {panose-1:2 1 6 0 3 1 1 1 1 
1;}#yiv2706307876 #yiv2706307876 p.yiv2706307876MsoNormal, #yiv2706307876 
li.yiv2706307876MsoNormal, #yiv2706307876 div.yiv2706307876MsoNormal 
{margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:inter-ideograph;font-size:10.5pt;font-family:"Calibri",
 "sans-serif";}#yiv2706307876 a:link, #yiv2706307876 
span.yiv2706307876MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv2706307876 a:visited, #yiv2706307876 
span.yiv2706307876MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv2706307876 pre 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:宋体;}#yiv2706307876
 span.yiv2706307876EmailStyle17 {font-family:"Calibri", 
"sans-serif";color:windowtext;}#yiv2706307876 span.yiv2706307876HTMLChar 
{font-family:宋体;}#yiv2706307876 .yiv2706307876MsoChpDefault {}#yiv2706307876 
_filtered #yiv2706307876 {margin:72.0pt 90.0pt 72.0pt 90.0pt;}#yiv2706307876 
div.yiv2706307876WordSection1 {}-->
Hello,
 
  
 
When I use CAS for authentication, and click login ,a error come up, who can 
help me?
 
  
 
  
 
17:37:06.252 [http-nio-8080-exec-2] ERROR o.a.g.rest.RESTExceptionWrapper - 
Unexpected internal error: 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
 
04-Aug-2017 17:37:06.252 SEVERE [http-nio-8080-exec-2] 
com.sun.jersey.spi.container.ContainerResponse.logException Mapped exception to 
response: 500 (Internal Server Error)
 
org.apache.guacamole.rest.APIException
 
        at 
org.apache.guacamole.rest.RESTExceptionWrapper.invoke(RESTExceptionWrapper.java:202)
 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
        at java.lang.reflect.Method.invoke(Method.java:606)
 
        at 
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
 
        at 
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
 
        at 
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
 
        at 
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
 
        at 
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
 
        at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
 
        at 
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
 
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
 
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
 
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
 
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
 
        at 
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
 
        at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
 
        at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
 
        at 
com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
 
        at 
com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
 
        at 
com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
 
        at 
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
 
        at 
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
 
        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
 
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
 
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
 
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
 
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
 
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
 
        at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
 
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
 
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
 
        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
 
        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
 
        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
 
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
 
        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
 
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 
        at java.lang.Thread.run(Thread.java:745)
  
CONFIDENTIALITY NOTICE:

This electronic message is intended to be viewed only by the individual or 
entity to whom it is addressed. It may contain information that is privileged, 
confidential and exempt from disclosure under applicable law. Any 
dissemination, distribution or copying of this communication is strictly 
prohibited without our prior permission. If the reader of this message is not 
the intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, or if you have received this communication 
in error, please notify us immediately by return e-mail and delete the original 
message and any copies of it from your computer system. For further information 
about Hikvision company. please see our website atwww.hikvision.com


Reply via email to