我在域模式下运行JBosss AS 7。当我将更改应用到host.xml时,我收到以下错误。保护JBoss管理控制台SSL不工作
[主机控制器]消息:JBAS014789:意外元素 '{瓮:JBoss的:域:1.2}插座结合' 遇到
我跟着此参考指南。
https://community.jboss.org/wiki/SecuringAdministrationConsoleWithHttps
host.xml
<management>
<security-realms>
<security-realm name="ManagementRealm">
<authentication>
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
</authentication>
<server-identities>
<ssl>
<keystore path=".keystore" relative-to="jboss.home.dir" password="changeit"/>
</ssl>
</server-identities>
</security-realm>
<security-realm name="ApplicationRealm">
<authentication>
<properties path="application-users.properties" relative-to="jboss.domain.config.dir" />
</authentication>
</security-realm>
</security-realms>
<management-interfaces>
<native-interface security-realm="ManagementRealm">
<socket interface="management" port="${jboss.management.native.port:9999}"/>
</native-interface>
<http-interface security-realm="ManagementRealm">
<socket interface="management" port="${jboss.management.http.port:9990}"/>
<socket-binding https="management-https"/>
</http-interface>
</management-interfaces>
</management>
谢谢!
有没有人使用控制台设置SSL?欢迎任何反馈。谢谢。 –
看来,JBoss不允许<套接字绑定>标签。无论如何要在<管理界面>或选项卡上的控制台上启用SSL?非常感谢。 –