CAS_SSO_Record
CAS_SSO_Record copied to clipboard
java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:
http://www.ibloger.net/article/3126.html http://www.ibloger.net/article/3024.html 本人Macos 一直参考您的教程操作 唯独 导入证书 一直失败 尝试无数次方法 都不行 困扰我一个多星期 最终 使用 https://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore 在spring main方法前加入如下证书即可
System.setProperty("javax.net.ssl.trustStore", "/private/etc/cas/i-dz.keystore");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
建议 博主 在教程里面 附上如下 解决方法