再一次,SSLPeerUnverified的沉闷问题,但我没有使用自签名证书.我尝试使用https连接到主机.该主机具有正确的证书,Firefox和HttpsUrlConnection都没有任何问题.无论如何尝试使用HttpClient进行连接,我都会遇到可怕的异常.
有线索吗?或者提示哪里看得更近?
谢谢!
编辑:调试输出
main,处理异常:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
Run Code Online (Sandbox Code Playgroud)
main,getSession()中的IOException:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
Run Code Online (Sandbox Code Playgroud) 我们使用.PFX证书文件签署.net代码.现在,同事需要使用相同的证书为客户签署.jar文件.
有人能指点我一个链接或一个如何做到这一点的例子吗?
jar文件将在Solaris上运行的Oracle WebLogic Server上使用.
并且,一旦签名,我们需要发送任何其他签名的jar文件?
谢谢.