【问题标题】:How to enable SSL in Jboss 5.1.0如何在 Jboss 5.1.0 中启用 SSL
【发布时间】:2013-12-13 03:41:50
【问题描述】:

有人可以列出在 Jboss 5.1.0 A.S 中为 JAX-WS Web 服务启用 SSL 的步骤吗? 尝试编辑 server.xml 但不起作用

【问题讨论】:

    标签: java ssl jboss jax-ws jboss5.x


    【解决方案1】:

    在编辑 server.xml 之前,请确保没有任何东西在使用它,因为您可能无法保存所做的更改。另外,请确保删除连接器条目周围的注释标签:

    <!-- SSL Connector on Port 8443 -->
    <!--
    <Connector
    className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8443" minProcessors="5"
    maxProcessors="75"
    enableLookups="false"
    acceptCount="10"
    connectionTimeout="60000" debug="0"
    scheme="https" secure="true">
    className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
    clientAuth="false" protocol="TLS"
    keystoreFile=/"insert path to the keystore here">
    keystorePass="insert keystore password here"/>
    </Connector>
    --> 
    

    然后重启JBoss

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-06-02
      • 2023-03-09
      • 1970-01-01
      • 2014-10-04
      • 2019-12-18
      • 2012-03-23
      • 1970-01-01
      相关资源
      最近更新 更多