在Weblogic中配置SSL

时间:2018-11-19 11:40:50

标签: java eclipse ssl weblogic12c

我试图为Weblogic服务器12.2.1配置SSL。我使用JDK keytool实用工具创建了自签名密钥库和信任库SSL证书,并通过管理控制台对其进行了配置,将“启用SSL侦听端口”设置为true,并将其更改为8888。毕竟,我将Web服务部署到了服务器。因此,Web服务可以在https上正常运行。但是当我想重新启动weblogic时,出现此错误:

javax.naming.CommunicationException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is: 
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is: 
java.rmi.ConnectException: [RJVM:000576]No available router to destination. [Root exception is java.net.ConnectException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is: 
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is: 
java.rmi.ConnectException: [RJVM:000576]No available router to destination.]

Problem invoking WLST - Traceback (innermost last):
File "C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\shutdown-AdminServer.py", line 3, in ?
File "<iostream>", line 19, in connect
File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : Cannot connect via t3s or https. If using demo certs, verify that the -Dweblogic.security.TrustKeyStore=DemoTrust system property is set. : t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is: 
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is: 
java.rmi.ConnectException: [RJVM:000576]No available router to destination.

出现此问题的原因是什么?如何解决?我还检查了config.xml,它包含有关端口的实际信息。对于开发,我使用Eclipse Neon。谢谢。

0 个答案:

没有答案