未找到 IBM HTTP SSL 证书问题

IBM HTTP SSL certificate not found issue

我有一个 IBM Websphere Liberty 8.5.5 的开发环境;在此应用程序服务器前面有一个 IBM HTTP Server(为 IBM HTTP 配置的外部 CA SSL 证书)。 我可以从 Internet 访问 IBM HTTP,但使用 /mfpconsole 它会引发异常(见下文)。

[11/28/16 21:02:44:464 SGT] 00000024 com.ibm.mfp.admin.ui.servlet.ServiceProxy                    E FWLSE3301E: Problem with SSL certificates. Possible fixes: Put the application server's certificate into the truststore. Or define the JNDI property mfp.admin.ui.cors.strictssl to false (not in production environments).
[11/28/16 21:02:44:464 SGT] 00000024 com.ibm.mfp.admin.ui.servlet.ServiceProxy                    E Exception java.security.cert.CertificateException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target while redirecting request to :443/mfpadmin/management-apis/2.0/runtimes?fullInfo=true
[11/28/16 21:02:49:759 SGT] 000000c9 com.ibm.ws.ssl.core.WSX509TrustManager                       E CWPKI0022E: SSL HANDSHAKE FAILURE:  A signer with SubjectDN CN= was sent from the target host.  The signer might need to be added to local trust store .p12, located in SSL configuration alias defaultSSLConfig.  The extended error message from the SSL handshake exception is: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[11/28/16 21:02:49:759 SGT] 000000c9 com.ibm.mfp.admin.ui.servlet.ServiceProxy                    E Received status 500 for GET https://url:443/mfpadmin/management-apis/2.0/runtimes?fullInfo=true
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

我在 Liberty truststore 中添加了 CA 证书,它解决了 issue.Thanks