0

我有一个以前部署在 http 上的 Web 服务。我曾经使用 wsimport http://localhost:8080/MiniForumService/MiniForumService?wsdl使用 wsimport 生成存根类。

现在我将它部署在 SSL 上。但是当我尝试使用 wsimport https://localhost:8443/MiniForumService/MiniForumService?wsdl 从中生成存根类时,我收到以下错误:

unable to find valid certification path to requested target 

我在服务器上使用自签名证书。请问我该如何解决?我已经用谷歌搜索了,但直到现在还没有找到解决方案

谢谢和问候, Krt_Malta

4

1 回答 1

0

假设您使用 Netbeans 和 Metro,本教程可能会对您有所帮助。

这个技巧是按照描述检查“安全服务”复选框。

于 2010-03-19T00:36:40.637 回答