I spent hours on this.
Trying to add the cas server certificate in /etc/cas/jetty/thekeystore : no success.
I also tried to separate the trust store in another file changing jetty.ssl.truststore.path : no success.
Always had the error :
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Finally, adding it to the global keystore solved my problem.
I spent hours on this. Trying to add the cas server certificate in /etc/cas/jetty/thekeystore : no success. I also tried to separate the trust store in another file changing jetty.ssl.truststore.path : no success.
Always had the error : sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Finally, adding it to the global keystore solved my problem.