我正在使用 Worklight 6.0.1。我在证书验证方面遇到问题。我可以以某种方式删除 PoC 项目的适配器中的证书检查吗?
我无法在 Worklight 服务器上快速安装正确的证书。此答案未提供正确答案:禁用证书主机名验证
[ERROR ] FWLSE0099E: An error occurred while invoking procedure [project POD]html/HttpRequestFWLSE0100E: parameters: [project POD]{
"arr": [
{
"method": "get",
"path": "mobile",
"returnedContentType": "html"
}
]
}
Http request failed: javax.net.ssl.SSLException: hostname in certificate didn't match: <xxx> != <xxx> OR <xxx>
FWLSE0101E: Caused by: [project POD]javax.net.ssl.SSLException: hostname in certificate didn't match: <xxx> != <xxx> OR <xxx>java.lang.RuntimeException: Http request failed: javax.net.ssl.SSLException: hostname in certificate didn't match: <xxx> != <xxx> OR <xxx>
at com.worklight.adapters.http.HTTPConnectionManager.execute(HTTPConnectionManager.java:241)
at com.worklight.adapters.http.HttpClientContext.doExecute(HttpClientContext.java:176)
at com.worklight.adapters.http.HttpClientContext.execute(HttpClientContext.java:160)