java侧尝试连接微信云托管uri时,报了以下异常,连接失败,之前没有过,最近每次连接时都会报以下异常。
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

ssl证书问题,一种方法是把证书导入到jdk,另一种是请求时设置忽略ssl校验