java - 在 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。谢谢。
解决方案
推荐阅读
- python - 在python中查找顶级父母的所有孩子
- javascript - 按两个最近的字段对 js 数组进行排序
- sql - SQL使用通配符在带有where子句的字符串中查找字段
- javascript - 动态创建的选择框不接受功能添加的选项
- concourse - VAULT_CLIENT_TOKEN 每 24 小时过期一次
- css - 覆盖像 MuiTab 这样使用媒体查询的组件
- arrays - 将字符串数组中名称的第一个字符提取到另一个数组中
- javascript - 如何将一个字符串附加到另一个具有多行并由反斜杠字符终止的字符串
- jquery - jQuery UI datepicker:限制每个月的最后 5 天
- c# - 从 WebApi 的 Google Analtics 报告中获取数据