在jboss管理控制台中启用ssh
任何人都可以在jboss 7.1.1管理控制台中选择如何配置standlone.xml文件以启用SSH 我尝试使用下面的链接,但它不工作 提前谢谢在jboss管理控制台中启用ssh,jboss,jboss7.x,middleware,Jboss,Jboss7.x,Middleware,任何人都可以在jboss 7.1.1管理控制台中选择如何配置standlone.xml文件以启用SSH 我尝试使用下面的链接,但它不工作 提前谢谢 使用以下keytool命令创建密钥库: 复制服务器的配置文件夹下的server.keystore 接下来,在ManagementRealm配置中包括一个服务器标识定义,该定义引用我们的密钥库,如下所示: 将http套接字绑定替换为https套接字绑定: 检查端口绑定:默认套接字绑定组中已存在管理https绑定,默认为9443。如果没有,请添
非常感谢你,mush@Varsha。问题是jboss服务器版本。在我使用jboss 7.1.1之前,现在我使用7.1.2(EAP版)。要下载Jboss 7.1.2,请使用以下链接步骤。blog.kaltepoth.de/posts/2013/02/12/building-jboss-as7.html。要在管理控制台中启用ssh,您的配置工作正常。
keytool -genkeypair -alias serverkey -keyalg RSA -keysize 2048 -validity 7360 -keystore server.keystore -keypass mypassword -storepass mypassword -dname "cn=Server Administrator,o=Acme,c=GB"
<security-realm name="ManagementRealm">
<authentication>
<local default-user="$local"/>
<properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
</authentication>
<authorization map-groups-to-roles="false">
<properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/>
</authorization>
<server-identities>
<ssl>
<keystore path="server.keystore" relative-to="jboss.server.config.dir" keystore-password="mypassword" alias="serverkey"/>
</ssl>
</server-identities>
</security-realm>
<management-interfaces>
<http-interface security-realm="ManagementRealm" http-upgrade-enabled="true">
<!-- <socket-binding http="management-http"/> -->
<socket-binding https="management-https"/>
</http-interface>
</management-interfaces>
<socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>