我的ServerFarm.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<Farm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FarmSchema.xsd">
<LibertyNode Hostname="192.168.0.98" ServerID ="server1_farm" AdminPass="demo" AdminUser="demo" JMXPortNumber="9443" />
<LibertyNode Hostname="192.168.0.149" ServerID ="server2_farm" AdminPass="admin" AdminUser="admin" JMXPortNumber="9443" />
</Farm>
我的server.xml文件
<application id="worklight" name="worklight" location="project2.war" type="war">
<application-bnd>
<security-role name="worklightadmin">
<user name="demo"/>
</security-role>
</application-bnd>
<classloader delegation="parentLast">
<privateLibrary id="worklightlib_worklight">
<fileset dir="${shared.resource.dir}/worklight/lib" includes="worklight-jee-library.jar"/>
<fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_*.jar"/>
</privateLibrary>
<fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_*.jar"/>
</privateLibrary>
</classloader>
</application>
com.worklight.common.util.jmx.LibertyFarmRuntimeMBeanHandler E异常sun.security.validator.ValidatorException:PKIX路径验证失败:java.security.cert.CertPathValidatorException:签名检查失败
请提供建议。
答案 0 :(得分:0)
可能是您错误地将证书导入密钥库。您可以按照以下帖子中的说明解决您的问题:https://developer.ibm.com/answers/answers/211204/view.html
答案 1 :(得分:0)
我做得很好。我错过了在两台服务器上交换证书。 好吧,我跟着IBM MobileFirst 7.1 Configuring a server farm。试试这个,我觉得每个人都会有希望。