gpt4 book ai didi

ssl - javax.net.ssl.SSLHandshakeException 错误

转载 作者:太空宇宙 更新时间:2023-11-03 15:03:38 25 4
gpt4 key购买 nike

在我们的应用程序中,我们使用 https 服务 url 从其他供应商处获取一些服务。我们都共享一台服务器。此服务器与服务 url 交互并获取信息。 在所有其他系统中,服务能够通过成功的请求和从服务器到服务 url 的响应被成功调用。

在我的系统中显示以下错误。

我认为这是因为我需要进行浏览器设置才能成功调用请求..

任何人都可以对此提出一些建议......

org.apache.axis2.AxisFault: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: 
java.security.cert.CertPathValidatorException: The certificate issued by

java.security.cert.CertPathValidatorException: Certificate chaining error
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:83)
at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)

最佳答案

您的信任库未正确构建。请验证您的信任库是否具有已签署服务器证书的所有中间和根 CA 证书。

关于ssl - javax.net.ssl.SSLHandshakeException 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16355376/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com