首页 > 解决方案 > 在 Weblogic 中配置 SSL

问题描述

我试图为我的 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。谢谢。

标签: javaeclipsesslweblogic12c

解决方案


推荐阅读