【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”
2013-02-18 18:55:47 [DEBUG] Cas20ServiceTicketValidator:202 - Constructing validation url: http://xxxx.xxxx.net/serviceValidate?ticket=1111112013-02-18 18:55:47 [DEBUG] Cas20ServiceTicketValidator:206 - Retrieving response from server.
2013-02-18 18:55:47 [DEBUG] Cas20ServiceTicketValidator:214 - Server response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<h1>301 Moved Permanently</h1>
<p>The requested resource has been assigned a new permanent URI.</p>
<hr/>Powered by Tengine/1.4.2
</body>
</html>
我使用:
server
{
listen 80;
server_name xxx.xxxxx.net;
# index index.html index.htm index.php;
# root /home/wwwroot;
location /
{
rewrite (.*) https://xxx.xxxxx.net$1 permanent;
}
access_log /home/wwwlogs/access.log access;
}
报以上异常,怎么解决下, 我的登录系统是一个单独的系统,全部强制使用https访问
如果使用:
https://xxx.xxxxx.net/services/j_acegi_cas_security_check
CommonUtils:340 - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
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