连接json数据集的时候报缺少安全证书错误,无法连接,怎么能解决呀

报出的错误(

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

sun.security.provider.certpath.SunCertPathBuilder.build(null.-1)

sun.security.provider.certpath.SunCertPathBuilder.engineBuild(null.-1)

java.security.cert.CertPathBuilder.build(null.-1)

sun.security.validator.PKIXValidator.doBuild(null.-1)

sun.security.validator.PKIXValidator.engineValidate(null.-1)

sun.security.validator.Validator.validate(null.-1)

sun.security.ssl.X509TrustManagerImpl.validate(null.-1)

sun.security.ssl.X509TrustManagerImpl.checkTrusted(null.-1)

sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(null.-1)

sun.security.ssl.ClientHandshaker.serverCertificate(null.-1)

sun.security.ssl.ClientHandshaker.processMessage(null.-1)

sun.security.ssl.Handshaker.processLoop(null.-1)

sun.security.ssl.Handshaker.process_record(null.-1)

sun.security.ssl.SSLSocketImpl.readRecord(null.-1)

sun.security.ssl.SSLSocketImpl.performInitialHandshake(null.-1)

sun.security.ssl.SSLSocketImpl.startHandshake(null.-1)

sun.security.ssl.SSLSocketImpl.startHandshake(null.-1)

org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java.436)

org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java.384)

org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java.142)

org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java.376)

org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java.393)

org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java.236)

org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java.186)

org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java.89)

org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java.110)

org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java.185)

org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java.83)

org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java.108)

com.fr.plugin.db.json.core.http.HttpToolbox.analyze(null.-1)

com.fr.plugin.db.json.core.http.HttpToolbox.get(null.-1)

com.fr.plugin.db.json.core.JSONConnection$1.run(null.-1)

com.fr.plugin.db.json.core.JSONConnection$1.run(null.-1)

com.fr.plugin.db.json.core.JSONConnectionCache.getIfExist(null.-1)

com.fr.plugin.db.json.core.JSONConnection.getTextFromServer(null.-1)

com.fr.plugin.db.json.core.JSONConnection.getTextFromServer(null.-1)

com.fr.plugin.db.json.core.JSONConnection.testConnection(null.-1)

com.fr.data.operator.DataOperator$8.call(DataOperator.java.258)

com.fr.data.operator.DataOperator$8.call(DataOperator.java.255)

java.util.concurrent.FutureTask.run(null.-1)

java.util.concurrent.Executors$RunnableAdapter.call(null.-1)

java.util.concurrent.FutureTask.run(null.-1)

java.util.concurrent.ThreadPoolExecutor.runWorker(null.-1)

java.util.concurrent.ThreadPoolExecutor$Worker.run(null.-1)

java.lang.Thread.run(null.-1)

FineReport 喜欢吃书的绿毛虫 发布于 2023-3-7 08:39
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
1592Lv6高级互助
发布于2023-3-7 08:44

参考:CAS常见报错及解决方案-https://help.fanruan.com/finereport/doc-view-1433.html

image.png

试试

  • 2关注人数
  • 365浏览人数
  • 最后回答于:2023-3-7 08:44
    请选择关闭问题的原因
    确定 取消
    返回顶部