Odata IBM Mobile First-Http请求失败:javax.net.ssl.SSLHandshakeException
我正在尝试使用SAP Netweaver网关适配器使用OData服务。但我面临的问题如下 运行时:Http请求失败:javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException:PKIX路径生成失败:sun.security.provider.certpath.SunCertPathBuilderException:找不到请求目标的有效证书路径 这是我的worklight.propertiesOdata IBM Mobile First-Http请求失败:javax.net.ssl.SSLHandshakeException,odata,ibm-mobilefirst,sap-gateway,Odata,Ibm Mobilefirst,Sap Gateway,我正在尝试使用SAP Netweaver网关适配器使用OData服务。但我面临的问题如下 运行时:Http请求失败:javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException:PKIX路径生成失败:sun.security.provider.certpath.SunCertPathBuilderException:找不到请求目标的有效证书路径 这是我的worklight.properties ####
########## MobileFirst SSL keystore
#############################################
#SSL certificate keystore location.
ssl.keystore.path=conf/default.keystore
#SSL certificate keystore type (jks or PKCS12)
ssl.keystore.type=jks
#SSL certificate keystore password.
ssl.keystore.password=<keystorepassword>
移动第一SSL密钥库
#############################################
#SSL证书密钥库位置。
ssl.keystore.path=conf/default.keystore
#SSL证书密钥库类型(jks或PKCS12)
ssl.keystore.type=jks
#SSL证书密钥库密码。
ssl.keystore.password=
这是我的adapter.xml
<connectivity>
<connectionPolicy xsi:type="nwgateway:NWGatewayHTTPConnectionPolicyType">
<protocol>https</protocol>
<domain>mydomain</domain>
<port>myport</port>
<connectionTimeoutInMilliseconds>30000</connectionTimeoutInMilliseconds>
<socketTimeoutInMilliseconds>30000</socketTimeoutInMilliseconds>
<serviceRootUrl>/sap/opu/odata/SAP/ZBIN_POC_SRV/</serviceRootUrl>
<authentication>
<basic/>
<serverIdentity>
<client>001</client>
<username>username</username>
<password>password</password>
</serverIdentity>
</authentication>
<!-- Following properties used by adapter's key manager for choosing specific certificate from key store-->
<sslCertificateAlias></sslCertificateAlias>
<sslCertificatePassword></sslCertificatePassword>
<maxConcurrentConnectionsPerNode>50</maxConcurrentConnectionsPerNode>
</connectionPolicy>
</connectivity>
<procedure name="retrieveTravelAgency"/>
https
mydomain
我的港口
30000
30000
/sap/opu/odata/sap/ZBIN_POC_SRV/
这是我正在关注的问题
有人能帮我一下吗,提前谢谢 确保从后端服务器(在adapter.xml中提到)导出正确的证书并导入默认密钥库。确保从后端服务器(在adapter.xml中提到)导出正确的证书并导入默认密钥库。